fixed bug with view.update() when called with no arguments
added dev dependencies to package.json
added watch task to Gruntfile