This helps prevent step definitions eating steps that have a suffix and really should point to a step that isn't yet there. (As frequently happens with 'within x seconds' steps)
Bugfix: Use step variable instead of step decorator
Previously, this would fail in __exit__ with AttributeError: 'function' object has no attribute 'sentence' To do this, the wait_for_content API had to be changed and now requires step as the first parameter.
…anged in revision r11841