In this commit I made it so that each deployment can have custom settings for
which privileges are given to users when they are intiated. These settings are
modified in mediagoblin.ini.
In this commit, I added a new column which will be used for RDFa metadata of
media.
Big update. I added in a json-ld context file which will be used in all our
metadata columns in the future. The context describes the dublin core elements.
It still has not been finalized however.
This branch will create a commandline bulk-upload script. So far, I have written
the code to read csv files into a usable dictionary.
The script now officially works! It works in many different situations, whether
the media is to be uploaded is stored locally or on the web. Still have to clean
up the code and look for errors. I may also refactor some of this into a functi-
on to be used with a GUI frontend in another project. Lastly, I need to merge
this with the metadata branch I've been working on, and convert the metadata.csv
information into the proper format for the new metadata column.
Minor change in the wording of argparsing.
I made it so the command no longer requires the "Target type" to be provided,
it now recognizes whether the target is a directory or an archive on its own.

I added in a help message, which is still incomplete, but should make it easier
for admins to know how to use this new command. I believe we should also provi-
-de an example of the location.csv and metadata.csv files, so there is no conf-
-usion. Also, I made it possible for the command to recognize zip files as a
valid archive. I also made some minor changes to the commands description w/i
the larger gmg command help menu.
Changed some of the print messages as well as tweaked the order of
the commands attempts to figure out what type of file the target file
is.
Merge branch 'bulk-upload' into metadata
Began work on metadata validation
Added exception handling into the metadata format checking function.
Fixed up some fatal errors. Is still not ready.
Fixed a minor error in the batch upload script and modified the json-ld context.
Wrote more comprehensive error messages.
Fixed a bad get of 'dcterms:rights' and am throwing away the idea of an external
context file for the json-ld because it feels unnecessary seeing as we are just
using the dc core terms
Took out all of the references to the temporary url I was using
/metadata_context/v1
Fixed incorrectly coded references to filesystem paths
Added the 'requests' library as a dependency and switched over to using it to
fetch remote pieces of media in the batchupload script
Moved the metadata column to MediaEntry rather than MediaFile
Changed the name of the metadata column