Raise traceback on error when using CLI and -debug

When --debug is specified to the CLI don't just print the simple error
message but actually reraise that error.

Change-Id: Iac624dbb3490d29e32a9ea251c14766186df31db
Update client to display data type of traits

fixes bug 1268032

Change-Id: I47dfd3208fb3f7e5e5e2b33bd9b00c688d8283cd
Merge "Raise traceback on error when using CLI and -debug"
Merge "Update client to display data type of traits"