GH-308 Porting to GStreamer 1.0 and PyGObject

- Preparation work, switched functions common between gst 0.10 and 1.0
  to use the 1.0 style.