Refactored mysql filter class: sql and params cannot be referenced as members of the Filter class but rather local variables in the _compile function.
Added various tests for the mysql filter. Removed entity-set test - it will be rewritten as part of the mysql test suite.