Inline calls to /contigs and /spec

Fixes #300 

This should give us a small win in overall page load time, since the `/genotypes` request is no longer blocked on the `/contigs` and `/spec` requests.

I broke the CQL query box while doing this, so I created a test that made sure it got filled out properly. This wound up being [trickier than expected][1], but it's nice that we can easily stub React methods now. In case you were curious, accessing `.value` directly on the DOM node doesn't work because typeahead.js is doing something strange.

[1]: http://stackoverflow.com/questions/24280428/stubbing-a-react-component-method-with-sinon/27280563#27280563