PROV-1104 Basic working implementation of quickadd forms allowing upload of media. Basic idea is this:

1. Consolidated all of that horrible ad-hoc javascript in the quick add views into a caUI library
2. caUI library now detects file fields and on form submit first uploads the images to a new file upload storage service in BaseEditorController. The service returns a server-side storage path for each uploaded file. The caUI library then inserts these paths into the form data and submits it to be saved in the database.

The storage service will also be used for forthcoming media upload improvements such as drag-and-drop media upload, multiple select of files, etc.
The storage service in this commit is very basic and needs work including:

a. Don't return full path to client; base path should be implicit
b. Check input more carefully
c. Cleanup stale files automatically
d. Store original filename and supply to caller somehow(?)
e. Check user permissions more carefully
PROV-1104 Added progress indicator; display ajax errors
PROV-1104 Improved file upload service to:

1. Delete old files
2. Only pass a partial path back to the client

Improved quickadd interface better network error messages and formatting

Added support for userMediaX/ paths in intrinsic and attribute media and files
PROV-1104 Added tmp media timeout setting to app.conf
PROV-1104 Doh
NOJIRA remove old code
PROV-1104 Add command line tool to clear application and userMedia caches
Merge branch 'dev/metadataDictionaryRules' into dev/ajaxMediaUpload
Merge branch 'develop' of github.com:collectiveaccess/providence into dev/ajaxMediaUpload
Merge branch 'dev/ajaxMediaUpload' into develop