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>