Fixed Code for onMessage/onCompose and onPresence

The current version of the repo does not work with the latest xmpp responses received.
So, I updated the ``stanza.js`` file accordingly. Its currently tested on production for our startup [BeeplApp](http://beeplapp.com/).

Cheers,
Piotr