Added JUnit XML report file generation to test runner.

The test runner has been renamed "run.js" as it's more straightforward
to write "node test/run.js" than "node test/runner.js".

To activate JUnit reporting:
 node test/run.js junit

Report files are written in the "test-reports" folder.