Add support for MUC

Signed-off-by: Emilien Kenler <hello@emilienkenler.com>
Add status text

http://xmpp.org/rfcs/rfc3921.html#rfc.section.2.2.2.2
Add example of status text
Add information on status text to readme
Merge pull request #10 from Daniel15/add-statustext

Add status text to "buddy" event
version updated
fixed some dependancies
Merge arunoda/node-simple-xmpp

Signed-off-by: Emilien Kenler <hello@emilienkenler.com>
Use whitespace keepalives instead of presence stanzas

Sending <presence> stanzas too frequently may cause issues with servers rate limiting the user (see issue #15). This switches to using whitespace for keepalives instead. 

From XMPP specs:

   One common method for checking the TCP connection is to send a space
   character (U+0020) between XML stanzas, which is allowed for XML
   streams as described under Section 11.7; the sending of such a space
   character is properly called a "whitespace keepalive" (the term
   "whitespace ping" is often used, despite the fact that it is not a
   ping since no "pong" is possible).
Fix groupchat event related variable

The from child follow this pattern: <room_name>@conference.<host_name>/<user_nick>

Signed-off-by: Emilien Kenler <hello@emilienkenler.com>
Add some documentation

Signed-off-by: Emilien Kenler <hello@emilienkenler.com>
Add one groupchat example

Signed-off-by: Emilien Kenler <hello@emilienkenler.com>
added 'close' listener to know when a connection between the client and server has officially closed
Merge pull request #11 from MiLk/master

Add support for MUC
Merge pull request #17 from Daniel15/patch-1

Use whitespace keepalives instead of presence stanzas
Merge remote-tracking branch 'upstream/master'

Conflicts:
	lib/simple-xmpp.js
expose event object so we can remove listeners if we need to
Merge pull request #20 from silverbucket/master

Added a close listener so clients can implement actions for when a connection officially closes.
also exposed events object
added 'skipPresence' option to SimpleXMPP#connect
added method SimpleXMPP#setPresence(show, status)