Downgrade grunt to version 0.3

* change grunt file to js, as v0.3 don't support grunt file as coffeescript
* rewrite npm-shrinksave
* use the v0.3 min task, as the grunt-contrib-uglify task doesn't work with v0.3