Support for deactivating commands if they are not supported
CS fixes
Merge pull request #13 from phpcr/capability_aware_commands

Support for deactivating commands if they are not supported