ICommandManager improvements.

Hi, Here is a bit redesigned ICommandManager and CompositeCommand to support custom impl. of ICompositeCommand in ICommandManager.