Migrate doi.db file from Perst to Postgres table

Replaces the filesystem storage of DOIs (doi.db) with storage in a Postgres table.
[Trello 182](https://trello.com/c/hpduZclq/182-urgent-submission-system-instability-locking-issues-with-doi-db)