Now saves the output as a JSON file

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