Add support for OCI image manifests and image indexes
As part of our effort to move metadata from the filesystem to a database, we should ensure that the registry has full support for OCI image manifests and image indexes.
For more information about the OCI spec please see gitlab#207147 (comment 294543918).