Tidy up the Python checks in configure.in
Tidy up the Python checks in configure.in

This adds a dependency on pygobject-2.0 >= 2.27.0, as we depend on various bug
fixes in it at runtime.

mediaserver2-plugins/totem-mediaserver2,mediaserver2-plugins/totem-mediaserver2