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.
As well you might! l'll remove the changed lines. To explain: this was originally commented out - I didn't add/remove any code. I'd noticed that the content of the API Url didn't seem to be correct for that route. 

But I figured it was out of scope for this ticket, so I just put the "TODO" so I wouldn't forget.