wpe: Rewrite wpesrc as a glbasesrc subclass
And since it no longer allocates memories itself, this fixes issues with fakevideosink. A lot of code previously copied from gltestsrc is no longer needed thanks to the glbasesrc super-class.
Fixes #1046 (closed)
Edited by Philippe Normand