fix link from npmjs.org/#/msgpack-js and add enable `npm test`
test that toJSON works, and that functions are handled like JSON does
fix toJSON and handle functions correctly
use tape and testling
Merge pull request #5 from dominictarr/master

behave more like JSON.stringify