New Query Options tray added - 2

This is a cherry-picked branch the clears up the old PR:
https://github.com/apache/couchdb-fauxton/pull/78

For comments regarding this PR, see the original PR. For scope and discussion of the fix, see the Jira ticket:
https://issues.apache.org/jira/browse/COUCHDB-2347

Closes COUCHDB-2347
Fixes after rebase with master; style fixes from @seanbarclay