Continue secondary index

I've created a new branch from [#33](https://github.com/apache/couchdb-fauxton/pull/33). I will be continuing the work that @deathbearbrown and @jennschiffer started. I've squished the commits as much as possible. There was over 60 commits so I've done my best on that. 
Below are the issues I am currently aware of on this branch. Any help to get these bugs squished would be greatly appreciated.

Pagination tab on /_all_dbs is not correct. It constantly shifts from left to right instead of being at the bottom. 
- [ ] Couchdb’s login page needs some css fixing
- [ ] All api urls that I checked broken
- [ ] The “?” helper button for docs doesn’t open the docs on a new page
- [ ] The api url modal does not go away unless I click the “api url” text this is very frustrating for a user
- [ ] The query options url for views and all docs does not go away unless I click the “Query Options” text this is very frustrating for a user
- [ ] Query options on views doesn’t work. Clicking query does nothing
- [ ] On my 13” Mac if I select By Keys or Between Keys I cannot view the Query button its hidden and I cannot get to it.
- [ ] If I click new secondary view from the modal over a design doc. The design doc is not preselected in the view editor
- [ ] Creating a new view saves but an error in the console occurs so we don’t get a list of docs for that view
- [ ] After save it also then changes the design doc in the drop down for this view
- [ ] Deleting a doc give the message “undefined is deleted”
- [ ] On all docs if I select include_docs and click query, then close the query options and open it again. The “include_docs” is not selected even though all the docs visible include the full docs
- [ ] When clicking the select buttons the new header with the trash button is not done correctly. The buttons look very wrong.
- [ ] The cursor is incorrect when I hover over the select button
- [ ] Click design docs is broken it shows all docs - This is fixed in my other branch so maybe not an issue.
- [ ] If I try and save a view twice it fails from a conflict issue. - we have had this issue before and I think we have resolved it.
- [ ] Login view and access denied page is needs slightly better alignment.
- [ ] Design Doc Metadata is aligned but I don’t think those colours are correct for the background.