Fixes running tests in phantomjs with grunt
Updates karma configs to fit v0.10
Reformats require tests configs
Enables PhantomJS as default to run tests on build