Now saves the output as a JSON file

Configurable like this in the karma conf file :
```js
jsonReporter: {
   outputFile: 'test-results.json'
},
```

Fixes #2