apply a command on handlers that can process this type of command and parents
Merge pull request #1 from corker/master

additionally apply a command on handlers that can process command types that is assignable to the command