Enhancement: unified error handling

Raise exceptions inside library code, catch in bin-wrapper.
Enhancement: add json output support to `list`
Release: 0.4.0

 * added json output to `apt-spy2 list`
 * reworked internal error handling