Update store AIP for Storage Service changes

Storage service requires pipeline URI for creating a package.  Also added
error printing to the storeAIP script.

Note that this still works if the storage service has not been update.
Add user-specified manual normalization event details

refs #5216

Add a form to enter event detail information for manually normalized files
after Normalization takes place.  Only works for files that were normalized
prior to Transfer.

Update normalize.py to add Derivation and Event for manually normalized
files.  Files are left in the manualNormalization directory so that redo
normalization doesn't delete them with Archivematica-generated files.
Update the cleanup script to remove duplicate Events and Derivations. Update
scipt that associates original and manual normalized files to modify an
existing Event, if it can find one.

Add Events & Derivations to models.py.
Add wait point for entering manual normalization metadata

refs #5216

Add a 'user choice' after handling manually normalized files, so the system
pauses until manual normalization event detail information has been
entered. Since this is not a real choice, use set replacement dict with no
real value in replacement dict.
Add preconfigured choice to skip entering manual normalization metadata

refs #5216

Add 'skip waiting to allow manual normalization of metadata entry' to
preconfigured choices, and set the default to yes (skip waiting).
Move watchedDirectory to correct location
Minor fixes from code review
Add metadata entry reminder at the end of transfer

This adds an optional new processing step that prompts users to add
Dublin Core metadata at the last possible step before the AIP METS file
is written. It can be disabled via the processing configuration screen.

Refs #6217
Update pre-METS creation metadata reminder

refs #6217, #5216

Both 5216 and 6217 require a wait before the AIP METS is created to
allow the user to enter metadata.  Removed the 5216 manually normalized
files only wait, and updated the more general wait to work in all cases.

Moved the wait to before the MicroServiceChainLink split and added a
watched directory, removed the manually normalized files only wait and
associated watched directory.
Minor fixes

Fixed template typo, added display for when formset is empty.
Clean up exception logs

Clean up output when an exception happens, print more detailed information
about error.
Merge branch 'dev/issue-5216-manual-event-detail' into 1.0
Dashboard-side changes to start AIC creation chain

refs #5803

Added a CreateAICForm and submit button to the AIP search page that is
populated with the results information.  The results information is posted
to create_aic which creates an entry in a WatchedDirectory to start a
MicroServiceChain.  The directory is populated with files corresponding to
the AIPs that should go in the AIC - the filenames are the UUID, and the
contents are the AIP name.

Also, updated urls.py files to use url() instead of just tuples and did
minor cleanup.
Added createAICMETS client script

refs #5813

Added a client script to create the METS file for an AIC.  It collects AIP
information from files with an AIP uuid and contents of the AIP name, and
gets the AIP label by extracting the Dublin Core title from the AIP's METS
file.  Using that an the AIC's Dublin Core metadata, it creates the METS
file.

Updated archivematicaCommon/storageService.py to not rely on Django's ORM,
so all the client scripts that use it don't need to include Django's
settings file.  Added an extract file function to storageService that
fetches and saves a file from a Package (ie AIP)
Add MicroServiceChainLinks for AIC creation

refs #5823

Added preliminary MicroServiceChainLinks for AIC creation, and other
necessary client scripts.  Currently does not allow for metadata entry.
Updated createAICMETS for new paths.
Added metadata entry for AICs

refs #5823

Create AIC redirects to metadata entry page.  Added new form for Dublin
Core metadata for AIC that doesn't have Part of AIC, potential for more
divergent behaviour.  MicroServiceChainLink is started once metadata is
saved.  Cleaned up Dublin Core forms to be a ModelForm.
ElasticSearch doesn't index processingMCP.xml

refs #5803

Put a filter in ElasticSearch functions to prevent processingMCP.xml from
being indexed.  Other paths use the METS file to find the files to index,
but the AIC METS file is in metadata/ not /.

Removed unused code, cleaned up imports, fixed removing tmp directories on
DB recreate.
Fixed problems with AIC MicroServiceChainLinks

refs #5823

Added create METS.xml script to AIC chain.  Fixed createMETS file to not
bail if objects/metadata/transfers does not exist.

Updated bagit script to check that all the payload files/folders existed.
Added metadata/ folder to the bagit payload so the AIC METS file is
included.  Cleaned up bagit script.
Added isPartOf to METS file

refs #5803

Renamed Part of AIP to be isPartOf, like Dublin Core name.  Updated Dublin
Core metadata section in create METS.  ElasticSearch should index all
the fields in the METS file, including the new isPartOf.
Updated pointer file, storeAIP, and metadata entry for AIC

refs #5803

SIPs now store a sipType, which is "SIP" by default but is "AIC" for AICs.
AIP Pointer File stores the correct package type, pulled from the Dublin
Core metadata.  Store AIP sends package type of AIC when sipType is AIC.
Removed dependency on Django for store AIP.  The metadata entry form shows
the AIC form if the sipType is AIC, and the default DublinCore form
otherwise.

Also, fixed bug in dublin core METS creation.
AIC METS file named with file UUID

refs #5803

Both the 'normal' METS file and the AIC-specific METS file were named the
same - METS.<AIP UUID>.xml.  The AIC-specific METS file in the metadata/
folder is the contents of the AIP, so it is now named with the file UUID
instead of the AIP UUID.