Adding a new Grunt task to enable Node.js testing.

This is an enhanced version of @twada's PRs #401 and #410. Thanks, @twada!