Merge pull request #32 from cybem/priorities

* make event priorities adjustable
Merge remote-tracking branch 'upstream/master' into jabber-connected-event