Removes use of logging module from cli
Adds support for python3
Specifies cli script exit error codes
Adds cli integration tests and doublex to dev-reqs