Small bug fixes

Adds a version to package.json; adds grunt as a dev dependency.

Fixes issues #3 and #4