Allow custom modules on command register

Allows registering of extra modules on command register for the DI container to use for that command only. Allows per-command dependencies