Port dbus introspection to compiz 0.9. - move xml creation to a separate class (IntrospectionResponse) for easier memory management (allocate buffer and writer in ctor, free in dtor). - move duplicated response sending code to a separate method that takes IntrospectionResponse and sends the resulting xml. - Refactor handle*IntrospectMessage to work with compiz 0.9 interfaces.
This also fixes the broken list method which was a result of logic error. The code to invoke list handler was never reached.
This fixes most of the issues noted in bug 749084. Fixes: https://bugs.launchpad.net/bugs/749084.