Move helper methods from step definitions
Speed up slow-running features

The filtering documents features were taking approximately X seconds to
complete. By reducing the number of Capybara matcher calls, we get the feature
running time down to 33 seconds.
Merge pull request #1814 from alphagov/improve-feature-performance

Improve feature performance