Formatter JUnit

The work on this Junit formatter at https://github.com/Behat/Behat/pull/527 seems to have stalled. I have take what was done by WouterJ done a refactor on the xml creation and completed the work. I have also brought the base inline with master so it can be merged.
what do you mean with this? In the JunitOutputPrinter, this is overwritten in order to return a file stream instead of a console stream.