Cleanup

Various cleanup, adding jshint, adding nodeunit to package.json.