Merge pull request #12 from phpcr/lock_commands

Added lock commands
Change workspace command and related
Merge pull request #14 from phpcr/workspace_commands

Change workspace command and related
Support for deactivating commands if they are not supported
CS fixes