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