Find highlighting fixes:
* Fix existing bug where 1-char selection remained after backspacing away
whole query; this causes the "hidden" highlighting bg color to become
exposed since selection is no longer in sync with highlighting. Also added
a unit test for this bug.
* Fix bug where highlighting bg color was visible in large files where
highlighting is disabled.
* Unit test code cleanups; and add test for older bug #2478