Fix ibus_service_emit_signal critical assertion.
Simplify engine startup code.

Remove metadata duplication: parse and use existing XML data.
Update and fix metadata.