New extensibility point for mapping modules to objects.

system.getObjectResolver(module) returns a function that will resolve
the desired usable object instance based on a module. The function will
be called with new in case it is a ctor for a class that is returned.
This now used by composition, router and modalDialog modules.