Grunt: Add non-browser test as grunt task. Runs existing tests in node.

Fixes #400