Removed dependency on the brain since there is a timming issue with the brain init and the first presence message received.
Reviewed all changes and removed any useless change.
Fixed all tests.
Merge remote-tracking branch 'origin/master'

Conflicts:
	src/xmpp.coffee