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 issue with EventEmitter this.domain
put autolisten in C2S on port 5222 optional
removed browserfy script… does not work at the moment
removed browserfy dependency
fixed browserfy issue
fixed gitignore issue
Revert "fixed gitignore issue"

This reverts commit 8aa3f8118041691767f1ad6afb3428385f11f258.
Revert "fixed browserfy issue"

This reverts commit b9f4b80ac555c05acf0fd8aedd80b061dc1e1d58.
Revert "removed browserfy dependency"

This reverts commit a97c3a7e5d658754cb01726f1908e5f8e7e964a2.
Revert "removed browserfy script… does not work at the moment"

This reverts commit c53baf4cbd28b41356538e4633c55b74da1757b2.
fixed gitignore
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.