Updated dependencies and made it possible to specify a config dir

Also added Optimist to the dependencies.
Also added Grunt and some plugins for Grunt to the dev dependencies.
1.0.3