Change xmpp to use the OCP functions instead of the core ones
Remove not needed app::register function call
Merge pull request #1223 from owncloud/update_to_public_api_xmpp

Change xmpp to use the OCP functions instead of the core ones