1119688: Improved output of the status module

- The status module will now output a non-zero error code if the
  system status cannot be determined or is otherwise not current.
Merge pull request #1061 from candlepin/crog/status-error-code

1119688: Improved output of the status module