Upgrade grunt API, fix build

I was unable to build webshim from source (#222). Making these changes allows me to generate some files at least.

Highlights:
- Upgrade grunt API from 0.3.x to 0.4.x
- Updated dependencies, adding phantomjs to integrate nicely with npm
- Fixed parameters passed to build.js