Cleanup

Fixed up a number of Java compiler warnings and some unreliable string comparisons.
Fixed detection of ranks 1 to 9

Ranks 1 to 9 weren't being detected because the OCR library Tesseract was ignoring any single-character words it found. That meant Tesseract treated ranks 1 to 9 as being blank. I've changed the configuration of Tesseract so that it will accept both single- and multiple-character words. Now all ranks from 1-25 are detected correctly (though legendary is probably not... I don't have a screenshot of that to work with!)
Made deck detection more tolerant

Changed the deck detection to accept darker blue highlights around the selected deck, which makes it faster to detect your selected deck.
Added JUnit test for hero/class detection

This new JUnit test generates HTML files for a folder of 'Match VS' screenshots showing which class it detected and why. Useful for debugging scenarios where no class is being matched.
Improved detection of your class

Adjusted the detection parameters to make detecting your class at the start of the match more reliable.
Merge remote-tracking branch 'origin/master'