Fix npm install error: do not grunt on postinstall

Grunt is required for development, but not required to run the application.
This moves running grunt to a prepublish command, which should make it run
if you npm install with no arguments, but not run after it is installed as
a package dependency.