Use locations as deposit source dirs.

refs #5980

Added a way to optionally use locations as desposit source directories.
Deposit from location w/o space UUID.

refs #5980

Added logic so you can do a SWORD deposit from a location (to faciliate deposits
originating from dashboards) without knowing a SWORD space UUID. Because the
deposit is being immediately finalized the space UUID doesn't matter (noone
will be adding/deleting media, for example).
Got async finalizing working again.
Added LocationDownloadTask model.

refs #6232

Added a model to keep track of file batch downloads
associated with a SWORD deposit location.
Multiple download batches/deposit.

refs #6232

Changed things so download batch progress is recorded in
location download task fields rather than location fields.
Changed deposit status reporting so it checks all location
download tasks to find whether downloading is complete.
Additonal batch download capability.

refs #6232

Added the ability to start an additional batch downoad, using a
METS file, but posting METS data to the SWORD edit-iri endpoint.
Refactored code dealing with METS parsing and spawning batch
download jobs.
added async deposit completion.

refs #6232

added the ability to mark a deposit complete before
async jobs are done.
Documentation/refactoring.

refs #6232
Neated up one error's reporting.

refs #6232
Made on-demand finalization async.

refs #6232

Added logic so when finalization only is requested, it's performed
asynchronously. Added a field to the deposit to indicate when the
last attempt at finalization failed.
Post batch uploaded to em-iri.

refs #6232

Added the abiliy to, by setting the HTTP "Packaging" header to "METS",
POST METS XML to the edit media IRI to start async batch uploads.
Added error if finalizing incompete/failed SWORD deposit.
adding basic auth first draft to sword api

used when fetching files from a Fedora instance.
adding logging to basic auth
proof of concept
refs #6441
Added copying of METS into submission doc. dir.
Add optional extraction of filenames from METS.
Added status reporting for individual downloads.
Added Fedora credentials to space model/form.

Added Fedora host, username, password fields to spaces for
SWORD-related functionality.
Added optional use of Fedora auth creds for SWORD downloads.
Added ability to include checksums in METS url specifications.

Checksum type must be 'MD5'.
Update error handling

refs #5837

Move sword_error_response to helpers, update all references to point to
actual location.  Not all places calling currently have access to the
required request object.