Fix Query-Options tray

Broken by fcdedc7
Cleanup: use constant for page size
Allow the <enter> key to submit the Add New Database form

Closes COUCHDB-2418
Just hide the rightHeader on changes

Fixes COUCHDB-2419
import index module

load indexes module

add couch watermark

add window-resizeable-half class

use <%- instead of <%=

load new view also on click in dropdown

resizing two-panes

import template-styles

delete routes in documents

use new queryoptions-tray

use preview screen to give some feedback

remove old viewindex stuff

fix route

document style

style alldocs-items

deactivate json view - it is not in the current scope

fix padding

fix design doc metadata padding

cleanup

force render

remove duplicate 'new view'

we have 'secondary view'

wip select-all

remove query tray in config WIP

remove not used parts of the index module

apply style guide

escape template variables

unescaped ones can lead to xss

remove right header for now

it makes sense once the preview works to include the query-tray

make dropdown on view clickable

fix pagination footer position

remove not working preview

change new view to new document

fix failing test

add basic test

cleanup

feedback from ben

fix test

remove commented stuff

remove unused right-header

remove unused bindAll

refactor around events

single var statements, early return

remove notification assignment

prefix delete classes

rewrite long ternary operator

naming & remove unused function

don't use that

whitespace

fix icon sizes in dropdown

prefix with js-

early return

remove unused showIndex

remove dead code

prefix with js-, use classes

remove dead event listener

fix small things

whitespace
queries now possible again
preselect view if clicking the + next to it
style query-tray-button for indexes