[Console] Added status code to CommandTester and ApplicationTester


| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT


Theses classes are already statefull. They contain the input and the
output data. So we can safely add the last status code to the class.