non-zero exit status on error for CLI

When something went wrong in CLI, it should return a non-zero status.
So that we will be able to use this infomation in continous tests.

We would return value 1 for error in CLI.

Change-Id: Iae0c36e52eb2fd85056e8aa9543eed315ac2eae6
Merge "non-zero exit status on error for CLI"