kwalitee: commit ordering in the database

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
kwalitee: warning on non-utf8 files

* Adds an error code if the license is not readable because the file is
  badly encoded. It previously crashed.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
cli: check message command addition

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
cli: fix check message command test

* Removes the check from Python 3.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
cli: tests refactoring

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>