Changes:

Changed database entries for relevance to 1 for 100% relevance and 0 for
0% relevance (and the interpretation of all methods referencing this in
order to make things consistent).
Added method that returns the path and relevance for the rows with a
given type (TrainingDB.getImagesForType(int type))
Fixed bug where the add method took an int for relevance instead of a
double
In the Genetic method, changed return value to TypeRelevancePair in
order to get the assessed type, the relevance and the maximum relevance
in the kernel.
Changes in TestUI: when an image is selected, if it happens to look to
similar to another already in the database, it is no longer saved in the
db.