Fixed npm install error

The current version on npm does not install correctly. It fails on the
browserify command:

browserify -d -o node-xmpp-browser.js lib/node-xmpp-browserify.js

The error browserify gives is:

Error: Cannot find module: "JID" from directory

This is caused by an incorrect require in lib/node-xmpp-browserify.js
which I fixed in this commit.
Fixed npm install error

The current version on npm does not install correctly. It fails on the
browserify command:

browserify -d -o node-xmpp-browser.js lib/node-xmpp-browserify.js

The error browserify gives is:

Error: Cannot find module: "JID" from directory

This is caused by an incorrect require in lib/node-xmpp-browserify.js
which I fixed in this commit.
Merge branch 'master' of https://github.com/eelcocramer/node-xmpp
Adds check if the opts variable exsists.
authAttrs should be a part of the Mechanism prototype
Adds me to the contributors
Do not inherit from connection but rather compose a connection object
Revert "Adds me to the contributors"

This reverts commit 4eb52c001b694c605635f584fb844092160ec9ea.
Adds the component JID as to field in the stream element in case of a component connection.
Adds me to the contributors.
Adds reflected functions of connection to component
Applies fix from @Casear
Hack to fix failing test cases when node-stringprep is unavailable.
Adds build status to the readme.
Oeps.
Merge remote-tracking branch 'astro/master'
Fixes travis file
Merge pull request #86 from eelcocramer/master

Various bug fixes