Correctly implement Mediated Invitation Protocol invitation request

http://xmpp.org/extensions/xep-0045.html#invite-mediated

-Ensures the invitation message type is "normal"
fix travis complaints
Merge pull request #31 from mkonecny/master

Correctly implement Mediated Invitation Protocol invitation request