Add Gruntfile and some cleanup

- Glob support since invoking `jsfmt` via exec doesn't parse globs (even though they work from the commandline).
- process.stdin "readable" event doesn't have any arguments.
- Pinning dependencies
- Fixing jshint errors

This overlaps with your patch. I'm ok with copying your changes to mine or vice-versa.