Complete revamp of providers.

* ProviderMap is turned into a more general MetadataManager which can
in the future manage more aspects of the metadata.
* Updated all metadata stores to correspond to new format
* Follow new interface for provider registration which forgoes keys and
instead registers by scope/plugin.