Fauxton: Upload attachments

Can upload an attachment along with progress bar and view it in
the code and field editor.

Resolves COUCHDB-1811