Add compact output for CLI

Easier display of errors inside command line interface.
Merge pull request #39 from niksy/compact-output

Add compact output for CLI