Add FEDORA API

Add support for depositing files from FEDORA, using SWORD2 as the API.  See https://www.archivematica.org/wiki/Sword_API for the full spec.

Adds a new FEDORA Space, new 'FEDORA/SWORD Deposit' purpose for locations, and Deposit type of package.  Pipelines now contain information for using the dashboard API.  Also adds several models to track asynchronous downloads to a deposit.

Interactions described on wiki (and in code docstrings), but the API includes:
* service document IRI (information about collections)
* collection IRI (information about deposits, create new deposits)
* deposit IRI (for getting information about the deposit, and finalizing it)
* deposit media IRI (for posting new media to a specific deposit)

History cleaned up as best I can - more can be done if requested.
There is a lib directory that is not under version control, that is
required in order for dh-virtualenv to be able to build packages on
launchpad.

The process of building a storage-service deb is this:

Update Debian/changelog
Run pip ( pip install -r requirements.txt -d lib )
Run debuild
Run dput

The lib directory is populated by pip.  If the lib directory is not
included in the Debian install file, that directory will  not be uploaded
to launchpad, and the build will fail, because it is not possible for pip
to fetch source from pypi via a launchpad server.

Possibly this needs to be documented a bit better, perhaps the build
process should itself be under version control.
On 13 Jun 2014 17:31, "Misty De Meo" <notifications@github.com> wrote:

> In debian/archivematica-storage-service.install:
>
> > @@ -5,7 +5,7 @@ install/storage etc/nginx/sites-available/
> >  install/.storage-service var/archivematica/
> >  install/make_key.py var/archivematica/storage-service/
> >
> > -#lib/* var/archivematica/storage-service/lib/
> > +lib/* var/archivematica/storage-service/lib/
>
> Was this uncommented on purpose? There isn't a lib directory.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/artefactual/archivematica-storage-service/pull/7/files#r13777581>
> .
>