Preference setting added by Eclipse Luna.
Added unit tests for the different search features.

The unit tests use Corpus Query Language to test if features such as
phrase search, regular expression search, searching within tags, etc.
still work correctly.
Updated some outdated comments for grouping classes.