Remove glib threading stuffs.

I don't know.
Add simple script to dump threads.

From http://code.activestate.com/recipes/577334-how-to-debug-deadlocked-multi-threaded-programs/
Remove useless(?) queue after sources.
Kill pipeline before quit.
First serious attempt to remove source.
Use add_source also when called from command line.
Remove deprecated code.
Remove useless lines.
Remove sync=false.
Add a comment.
Use PyGObject introspection system.
Print python version.
Merge branch 'gi'

Mainly change for use the PyGObject introspection system, see
the project page at <https://live.gnome.org/PyGObject>.