phantomjs, Jasmine, and CI

Great tool!  I wanted to use it to run my Jasmine tests headless as a part of my CI, which, for reporting purposes, needs results written to a file in an XML format.  I made some updates that allow for file writing and also loading up a local file using relative paths rather than using the file:/// notation.  I edited the run-jasmine.js example to use these features. run-jasmine.js now exposes a window.fileWriter object which can be used by a custom Jasmine reporter to write results to disk (see https://github.com/gmusick/jasmine-reporters/blob/master/nunit-reporter.js for an example reporter that does this).

Thanks,

Greg