Fauxton: Split up api.js

Split up api to core/*. To seperate out the Framework from the UI.
Move tests to fit with this refactor.
Change addons/Fauxton with work with api extraction.
Whitespace
dry out delete events
Modal instead of prompt for delete

Display a modal asking for database name instead of a simple prompt.
Make a ModalView to dry the code a bit
Add Delete_database_modal to the makefile list
Fauxton: update dataSize
Compaction addon was missing from makefile
Allow cacertfile without verifying peers

COUCHDB-2028
Throw cleaner error on MD5 mismatch during compaction

COUCHDB-2040
Include layout manager in base.js for release builds
Remove Console log
Add Cachebusting to building new releases of fauxton