fixes for strict mode

A couple fixes to allow running with --harmony and --use-strict
@csantero rather than confining `Reporter` to the module scope, it seems you should try removing the `var Reporter;` statement and adding `global.Reporter = require....` instead.