Makes this lib compatible with Node >=0.6

Also completes the package.json
Finised the second example in README.md