Fixed InSet filter: was redeclaring/hiding input and output fields.

Now using an abstract base class for both InSet and InRange.
Taking care not to hide any fields.
Fixed InSet filter: Inheriting from the correct class.
Split QueryConfigurationException into a few new types.

- QueryException is the new base class.
- QueryBindingException is used for most config errors.
- QueryDimensionalityException is used for dimension config errors.
- FilterDefinitionException is used for *fitlers* that contain errors.

This change breaks backwards-compatibility. Users should change
references from QueryConfigurationException to QueryException.
Removed a debugging/trace messge from rsaworker.
Query: checking for duplicate fields in filter classes.

Duplicate fields indicate an error: the redeclaration hides the
field of the parent class. Duplicate fields can not have inputs or
outputs bound to them.
Fixed InSet filter: could not bind input.

Also, changed query exception types (breaking change). See branch for
details.

Merge branch 'fix-filter-inset' into akka-workers
Query: Fixed stats tests (some were missing a bucketing strategy).