Add karma tests to gradle test task

Adding the javascript karma tests to run automatically as part of the gradle build.