Fix sidebar design

- Make height of red & grey items in sidebar equal
- Allow scrolling down to the bottom of the list when window height is small
- Better vertically aligned icons
- Also show brown padding between burger and list when scrolled down

Closes COUCHDB-2402
Fix for group_level not being explicitly passed.

Closes COUCHDB-2412
Added constants.js file to core

Closes COUCHDB-2400
Add New Database now opens in tray, not prompt

- minor CSS update to all trays to increase edge padding

Closes COUCHDB-2398
Remove `rightHeader` from changes view for now

We have a separate filter function in this view. It probably
makes sense to integrate this filter into the right header
function later, but currently the rightHeader with the search for
documents and the query-options-tray does not work with changes and
duplicates the functionality of the filter in this context.

Closes COUCHDB-2397
Fix rendering on view-list after creating a view

AllDocsList is lazily adding subviews in the `beforeRender` method,
which causes that it will throw an error for all methods that
access these subviews from outside before explicitly rendering
the view.

As the beforeRender is adding paging, subviews, and the establish
takes care of our collection, we are fine with just rendering.

After we got this working, we can navigate without a
`trigger: false` and are getting a view on the indexed doc after
creating the view.
Use a constant for pagesize
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