Added Grunt task "test"

@swatro and I did the following: 

- Added a Grunt task "test". This runs all tests from the command line using PhantomJS. 
- fixed karma.config.js to run necessary files & have updated formatting.
- fixed MainControllerSpec tests by adding a mock method to "translate" object. 

There are currently tests failing, but these are the same tests that fail when you run SpecRunner.html. These will definitely need to be fixed. 

In the future, please run "grunt test" before committing to verify changes have not broken existing functionality. 

The next step we will be working on will be to set up a Travis ci server.