registry: dict-style auto discover registry

* Adds dict-style submodule auto discover registry to support
  uses cases from workflows and jsonalchemy registries.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>