Implement generic registration of metadata providers.

Also take provider registry out of the MetadatadaStore interface, and
delegate this to the server to figure out on the CraftBukkit side,
hiding implementation details.