Implement CLI Exception Handling and Logging

Intercept all exceptions and output them in a
friendly manner. Allow advanced debugging using a
--debug flag.

Also implements verbose and quiet mode.

Change-Id: I53a51fc751d1a4db2c7a2a4d23858bedd03dd165
Merge "Implement CLI Exception Handling and Logging"