Fix browser test failures under ruby 2.0

Make sure that the regex (or matcher) is always the first argument in calls to `assert_match` and `assert_not_match`.

Fixes https://github.com/mysociety/popit/issues/257