Validate uniqueness of queries by query/match_type.
Redirect to existing query when creating a duplicate

Also fix the flash message to explain why the query couldn't be created
in this case.
Tidy up duplicate query redirect.
Merge pull request #17 from alphagov/validate-query-uniqueness

Validate uniqueness of queries by query/match_type.