New Query Options tray added

For scope, see: https://issues.apache.org/jira/browse/COUCHDB-2347

Two important things to mention:
1. The "Compact View" button has been removed. I want to discuss with @seanbarclay about whether it should really appear in the tray.
2. There's an outstanding issue (outside this ticket) where the header bar doesn't always show the correct content when navigating from page to page.
Ooh good call, I'll add a comment. This was commented out due to a related issue that I mentioned in the original PR: 

> 2. There's an outstanding issue (outside this ticket) where the header bar doesn't always show the correct content when navigating from page to page.

@ocelotpotpie is looking into a fix for this. But for this ticket, to prevent the header bar disappearing each time you do a search I'll leave this commented out.