[WCM] added the new Application::runCommand() method

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | yes
| Applies to    | 2.6
| Fixed tickets |