break out Deed lookups from controller, remove unused function to_md5_hash, add global pagination value