The encoding is very simple right now, just the crate name. Ultimately this won't be enough for our versioning needs, but it should fill our immediate need of being able to correlate encoded crate numbers to actual crates.
Rename metadata::tags to metadata::common. Move some utility functions from metadata::encoder to metadata::common.