Search query parser updates.

* Support negation operator ('-' prefix). Bug #1390831.
* Empty arguments to text and numeric filters should fail open.
* Fix inconsistencies between TrackPointer matching and generated SQL.
* Added tests for the above.