resource: added ResourceTagsHash; renamed metadata tags_collated to tags_hash.
tool_build/package_compiler: #include tidy.
hash: moved common defs to hash/types.hpp; updated to AM‽ changes.¹

1: Interface moved to a generic implementation-based functional
interface to facilitate hash combiners (stateful hashing algorithms).
hash/hash_combiner: new interface.
resource: added ResourceTagsHashCombiner and tag hash functions.
resource::parse_path(): calculate tags_hash.