locate-thumbnail: fix 270 rotation
locate-thumbnail: log before the slowest step
locate-thumbnail: add an aspect ratio sanity check

This allows you to avoid saving images which are likely to
be erroneous matches
locate-thumbnail: increase required match count, make configurable

This decreases the odds of a false match but allows you to
override when desired