E-library documents

Batch file upload and individual document editing / deleting.
I guess it might make sense to move the search logic to a dedicated class with its own low-level caching at some point (similarly to taxon search).