ENH: add lookup_all() and lookup_all_by_type() methods to the registry

I am running into a usecase where I need to get the full list of registered objects, not just the most recently registered one. This PR extends the `TypeRegistry` with two new methods that enable this usecase.