Keep CQL box in sync with the page

This builds on PR #295—I'll rebase once that's merged.

This adds two new methods to `QueryLanguage`:

  - `toString`: converts a JSON query to a CQL query string
  - `isEquivalent`: determines if two JSON queries are equivalent

I use those in `QueryBox` to set the value in the CQL box when the page state changes, taking care not to disrupt the user while they're typing, or to override something the user typed with an equivalent machine-generated query.

This also adds a dpxdt test for filtering.

Fixes #236 
Fixes #260 
Fixes #262 
Fixes #301 
What doesn't this fix!?

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/hammerlab/cycledash/306)
<!-- Reviewable:end -->

Interesting, which style guide are you reading? I'd say that "returns a version of str which parses as a CQL value" is _what_ the function does, whereas the mechanics of quoting are _how_ it does it. In any case, I expanded on the comment w/ some details about quoting, hopefully it's clearer now?