Fix da.po permissions.
introspection: Fix compile with clang-3.3

It seems that only oldish g++-4.6 doesn't like some of our generated
code (the part about initializing unions).
Fix a minor issue found by clang
Fix some memleaks found by cppcheck. Anything broken?