Configure Windows standard streams earlier

This makes development easier, since errors during the import of pan_app
would otherwise not be visible in the output files.
Merge includes
Include gio in the Windows build

Otherwise gtk.Builder fails with a misterious message:
   'module' object has no attribute 'Builder'
See http://www.py2exe.org/index.cgi/Py2exeAndPyGTK
Fix botched code move from revision 6ffeb64e
Give a useful representation for debugging
Handle failed requests

This gets rid of a build-up of already failed requests.
Set proxy to empty for direct connection

Fixes the problem that localTM wasn't working with direct connection.
Set a short timeout for TM requests
Hide the main window as soon as possible on quit

This way the gui might seem more responsive if it takes a while to
shutdown (there is some writing of config files, for example).
Remove unused code
Bind the gettext domain in libintl on Windows

This fixes i18n for gtk Builder for the Windows package.
Another fixup from revision 6ffeb6
Completely omit certain directories from the GTK files
Adapt to structure in newer translate toolkit