test_art: add unit test

the test checks that the keyword priority (related to its
position in the keywords list) is considered when selecting
image filename amongst several candidates
sort image names before checking for matches

images that contain substring that comes first in the cover_names
option list are prioritized
Merge pull request #846 from KraYmer/issue836

Cover images prioritization