Fixed exit code for exceptions with error code 0
[Console] fix status code when Exception::getCode returns something like 0.1
[Console] ensure exit code between 0-254

255 is reserved by PHP and should not be used

also put this code inside the codeCoverageIgnore block because it cannot be tested with phpunit
Revert "[Console] ensure exit code between 0-254"

This reverts commit 6b9180a23ded06648ea8c79251e96ce87dd5c94f.
Merge branch '2.1' into 2.2

* 2.1:
  Revert "[Console] ensure exit code between 0-254"
  [Console] ensure exit code between 0-254
  [Console] fix status code when Exception::getCode returns something like 0.1
  Fixed exit code for exceptions with error code 0