add toJSON to element
add test for toJSON
pipe debug cli option to browserify
Merge pull request #43 from node-xmpp/toJSON

Element.toJSON