Add support for the compiler/resource-mappings metadata protocol.

Pants will use this initially to keep track of cmdline.arg.info.txt
resource files in its distributed compilation cache.

https://rbcommons.com/s/twitter/r/823/