codegen: Avoid name clashes in the closure struct

Fixes bug 596861.
Fix small mistake in previous commit, use "_data_" instead of "data"

Unwantedly missed to amend the commit after refreshing the patch.
glib-2.0: Set default value of StaticMutex to G_STATIC_MUTEX_INIT

Fixes bug 660764.
mx-1.0: Fix regression about Draggable and Droppable virtual methods

The regression was introduced by the mx-1.0 switch to GIR.

Fixes bug 633902.
glib-2.0: Fix default value for static RecMutex, RWLock and Private
cogl-1.0, clutter-gtk-1.0: Make get_option_group() transfer ownership

Fixes bug 661014.
gtk+-2.0, gtk+-3.0: Fix TextBuffer.delete and delete_interactive bindings

Fixes bug 661232.
hal: Fix libhal_find_device_by_capability binding
girparser: Do not create ArrayType twice with array metadata argument
girparser: Add has_type_id=false for structs without registered GType

Fixes regressions introduced by the switch to gir.

Fixes bug 661291.
codegen: Fix is_reference_counting() result for interfaces

Fixes a regression introduced by commit 5956bf5074d4508c.

Fixes bug 661620.
glib-2.0: Add get_monotonic_time() and get_real_time()
glib-2.0: add annotations for using GTimeSpan as a GObject property
GVariant: Fix unboxing of Variant to a real non-null struct

Fixes bug 661945.
codegen: Don't create temp var in transform_value if lvalue isn't allowed

Fixes bug 657378.
gtk+-3.0, gtk+-2.0: work around gtk_style_copy signature mismatch

Fixes bug 662077.
gtk+-3.0, gtk+-2.0: make Gtk.Style.clone transfer ownership
cairo: Add bindings for some enum values and functions

Fixes bug 662185.
gedit: Fix bindings of Document.load and save methods

Fixes bug 661813.
girparser: Warn when signals don't match emitter methods