adds document types applicable to e-library event types
fixes to batch upload form following changes to document types
The join with events needs to be a left join otherwise it will parse out any documents not attached to an event
Merge branch 'add_document_types' into develop
removed duplicated menu options
restored pagination to documents index page
deploy to staging from develop
added different ordering for documents
filter documents in event page
Merge branch 'documents-ordered-by-created-at' into develop
Adds datepickers to documents search filters

* Uses jquery UI since that's already here, and non-terrible.
* Also changes the form to use bootstrap's suggested form <div>s
  because, although not semantic, they make styling a lot easier.
Adds date filtering to documents controller
Document date filter formats date correctly for controller
Document date filter is inclusive
Fixes document date filter selectors to match controller
Removes datepicker init JS

No need as automatically performed on elements with datepicker class
post-rebase fixes
Merge branch 'documents-filter-by-date' into develop
Fixes document attribute assignment in document batch upload

`.each` was incorrectly being used as if it was `.each_with_index`
Fixes my hasty fix for the document batch POST

Nested forms actually posts numerically indexed hashes, rather than
arrays. Tests updated to reflect this. Original code was working!