Merge pull request #3 from nilclass/master

JSON generation and possible bug in protocol.functions.ping
dependencies
updated package
Merge remote-tracking branch 'origin/master'

Conflicts:
	package.json
enhanced .gitignore