Fix Bug 938214, retore new context menu in file views
marged change from ui
Further tweaks and enhancements based on feedback
Shorten menu titles
Get a failing test. Support case sensitivity from the querystring to the Query object and in enough of the test harness.
Merge branch 'ui' into bug938214-restore-context-menus-file-view

Conflicts:
	dxr/static/js/dxr.js
Merge pull request #202 from ossreleasefeed/bug938214-restore-context-menus-file-view

Bug938214 restore context menus file view
Update to a version of trilite that supports case-insensitive searches.
Add case-insensitivity support for negated text queries.

Factor up to create found_files() method in test harness. This comes in handy for making negative assertions about what's found: you don't have to brittle-ly list all the things that *are* found.
Add front-end support for case insensitivity.

* Switch from "1" to "true" for case-sensitivity querystring param, for consistency with the redirect param.
* Tighten the window of query-timing so it's just a tad less wildly uninformative.
* Rig it so clicking the Case-sensitive checkbox redoes the search.
* Factor out some repetition with regard to re-running searches.
Add some quick and dirty layout for the Case-sensitive checkbox to last us until the UI branch lands.
Add (and default to) case-insensitive searching for free text. Fixes bug 813524.

The checkbox does not, at the moment, affect structural queries.
Bump the format so the new case-insensitivity JS doesn't freak out when the built index pages have no case-sensitive checkbox to grab onto.
Merge branch 'master' into ui

Conflicts:
	dxr/templates/layout.html
	format