metadata: Move metadata stuff to its own directory.

Move all the files concerned with the new file format including metadata to its
own directory to decouple it from the utilities library (which actually has the
sole purpose of housing the git hash information).