Update Grunt and use AMD

* Update some of the grunt tasks
* If an AMD loader is available then define an anonymous module
* Bump version to 0.2.0