Add `grunt test` command

This change builds upon the multiple build target patch #47.
This adds a `grunt test` command to run the different build target tests using Karma, this will allow for easy integration with Travis.