added 'close' listener to know when a connection between the client and server has officially closed
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