tidy_mappings dedupes on query_string
two-pass tidy mappings in munge

The first tidy_mappings de-dupes, using rules such as 301 overriding
a 410. The second pass trumps to resolve conflicts.
re-munged scotlandoffice