Matcher: Python 3 compatability

* Using six library for cross-python compatability.

* Exceptions included for unimplemented features in
  the CLI.

Signed-off-by: Graham R. Armstrong <graham.richard.armstrong@cern.ch>