Add tests for documents/views-changes

Closes COUCHDB-2282
Link local docs in Fauxton

Instead of linking to the latest version online, we link to the
docs for the locally installed version. The docs are
generated automatically when running make / make install, if you
have Sphinx installed. For development, the dev-server will just
proxy the request.
Fixes broken icons in firefox

This fixes COUCHDB-2288
Configure zeroclipboard for deployment

Move zeroclipboard into its own component. Handle the location of
zeroclipboard for Fauxton deployment and Also allow the moviepath to
be overriddern for custom deployment locations.
remove unneeded z-index
Upgrade d3 to version 3.4.11
Sidebar: Do not show version on a collapsed view

There is not enough space for showing the version on a collapsed
sidebar.

COUCHDB-2234
Revert "Fauxton: Fix scrollbar from sidebar on collapsed state in Chrome"

This reverts commit 99665a15ac3a1e56259eb7445b9b2e505ac361fc.

This caused the sidebar not to scroll if the window is not height
enough
make CI build faster
Refactored Layout and View, upgraded to latest LM

The Layout object was a simple wrapper over the Layout constructor
instead of extending the constructor itself.  I've patched this to make
it more consistent and removed duplicative methods.  I've also removed
the tests for `removeView` since that is now a built-in method.

The latest LM contains bugfixes and render performance updates that
unforuntately have to be opt-out.  Areas in the source or tests that are
expecting synchronous renders must be patched to work asynchronously to
take advantage.
Upgrade backbone.layoutmanager

Work off Tim's initial commits and adjust to cater for the use of
establish functions in views and routeObjects.
We don't want to immediately render the view. We first want any pending
promises returned from a routeObjects establish and a view's establish
to complete before rendering the view.
delete unused variable
Fix deletion of docs that where selected using select-all

- add docs on page to bulk-delete-collection on select-all-click,
  which also reenables the trash-button
- make AllDocs testable, enable injection for viewMeta

Closes COUCHDB-2291
Fix double-click on design documents in all-docs-list

Closes COUCHDB-2247
fix test

travis was green but outdated
Implement a filter for databases

Uses a new model to manage the state of the different search
filters to filter the view.

Nice feature: the filter for the database (upper input) and
the filters for the type (buttons) work nicely together,
so you can filter out all replications for that
database (let's name it registry)  without the compaction,
if you choose replication as type and enter "registry" in the
top input.

Closes COUCHDB-2125
rename object to view
adjust widths