Harden click tracking code

- Handle swiftype-result-n not being found
- remove logging
- use our query parser since we already have one
- handle control/command clicks