Add some tests for error handling in the intervals collector
Added FilteredQueryExtractor and FilterTermExtractor
Clean up exception handling a little
Fix TermsFilterTermExtractor logic for multiple terms/fields, add test

Closes #4
Merge branch 'prog8-terms_extractor'