Make the JUnit formatter handle empty scenarios. Fixes #774.

Previously the JUnit formatter threw a NPE if a scenario had no steps.