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 -->

For using `chain`, I think at least 3-4, otherwise the addition of adding `chain` and `values` to the chain outweighs the benefits.

For using the basic wrapping style, It makes it looks like these values have methods on them; it's aping OO-syntax without being OO; it's not the preferred syntax for underscore. Consistency is also something to strive for. 

I don't think "looks like English" is a good reason for much in programming; if it were, we'd just be using AppleScript instead!