Add browser tests for BOSH functionality

Test the browserified version of `node-xmpp-client` BOSH package.

Note:

* We still need to use `preferred: 'PLAIN'` this needs to be fixed
Can we add a test, where we check, that registration fails if the flag is wrong? Just to improve the case handling...