Use an indexed field for uniqueness validation

This validation does a query for a mapping with the given path. Using the
path_hash should be no different, but should be slightly quicker.
Merge pull request #141 from alphagov/tweak_mapping_validation_for_performance

Use an indexed field for uniqueness validation