archive: use constant for collection name

Avoids failures in tests and production environment because of a simple
typo.
archive: make generate a method of Archive
archive: add function to get an archive by its ID
archive: add function to destroy the archive

This function will delete the file and mark the archive as destroyed in
the database.