update phantomjs-testrunner.js for backwards compat

- Previous revision introduces system.stdout.write
- Older versions of PhantomJS (<1.9) still need to use fs.write
Merge pull request #40 from founddrama/patch-1

update phantomjs-testrunner.js for backwards compat