Gruntfile changes

- Added a `--test` option for running `node-qunit` test

```sh
# run all tests (node)
$ grunt node-qunit

# run all tests where filename matches /_all_docs/
$ grunt node-qunit --test=_all_docs
```
- Minor indentation and consistency fixes