Polling interval field CSS update
Fixed unit test
Squashing.

Closes COUCHDB-2371
Adding right header back to databases page.

This was broken in the recent right refactor of the right header.

Closes COUCHDB-2381
Remove api bar from RightAllDBsHeader

This expands upon Christian's work and removes the api bar component
from the RightAllDBsHeader. It mimics Christians work for the documents
module.
Move parts of fauxton.less to templates.less

Fauxton.less is pretty hot code when you look at the commit
frequency. This commit just moves the parts of todays
fauxton.less to the new templates.less file to avoid a
long living branch with endless merge commits. This way
my colleagues can already use the new templates.less file
and have the advantage of a small separate template.less file
as soon as possible.

Based on the work of Jenn Schiffer <jenn@pancaketheorem.com>
(@jennschiffer) and Sue Lockwood <deathbear@apache.org>
(@deathbearbrown)
Move parts of fauxton.less to formstyles.less

Fauxton.less is pretty hot code when you look at the commit
frequency. This commit just moves the parts of todays
fauxton.less to the new formstyles.less file to avoid a
long living branch with endless merge conflicts. This way
my colleagues can already use the new templates.less file
and have the advantage of a small separate template.less file
as soon as possible.

Based on the work of Jenn Schiffer <jenn@pancaketheorem.com>
(@jennschiffer) and Sue Lockwood <deathbear@apache.org>
(@deathbearbrown)
New Query Options tray added

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
minor README update

- clarifies how to run the tests via your browser
- cleans up a few small typos/grammar etc.
Query-Tray: Prevent double query submission

Disable button after first click until the tray is reopened

Closes COUCHDB-2378
Fix Api-Bar button position

In some layouts the button was on the next line

this is a sliceoff of my port-views branch
Added JS style guide

Squashed. Initial version of the JS style guide.
Minor style fixes

This fixes a number of small issues described in:
https://issues.apache.org/jira/browse/COUCHDB-2370:

 - don't truncate all headers if there is space
 - fix font size of active tasks title
 - add more space to the button in config/add-section
 - fix wording after verfying the installation
 - autfocus the add-section-modal in config

Closes COUCHDB-2370
Query option tray style updates

- Query options and Api Url button and tray style updates
- New trays.less file added to group common styles across trays
- hover border now white
- Checkbox transition and effect updated
- API Url now remains in position after shrinking sidebar
- increased size of icon next to database name

Closes COUCHDB-2395
Fix hasRendered error

We are getting an error when rendering a view after removing other views
because we are deleting the old selector from the view object
Fix disappearing logout link

Also add header link when user is already logged in and is reloading
the browser which does not change the session

Closes COUCHDB-2357
Revert "Url-encode document-ids properly"

This reverts commit 92964af8ee93c53677b8abaea9463fd9ae7a4d7f.

This causes that you can not save an edited design document
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