Revert "Remove `path_hash` everywhere but the DB"

This reverts commit 4e55cf3bf5a6019fcc620b072e69250aba6892a5.

Conflicts:

	app/models/mapping.rb
Merge pull request #456 from alphagov/revert_remove-path-hash-redux

Revert "Remove `path_hash` everywhere but the DB"