Run packaging step only on release mode
Correct conditional run of test and install
Add missing log categories to conf file
Remove useless commented out lines
Use Qt mutex instead of boost mutex
Predicate also must have position and length

Also complete handling (reading/writing in xml and binary) of BoWPredicate
Finish the change from BoWToken to BoWPredicate