Added ability to rerun failing cucumber tests.

Added the ability to rerun failing cucumber tests, to allow a build to pass even if there are flaky tests.