move bootstrap script for Vagrant in its own file
use PostgreSQL database
tune Procfile to start puma and sidekiq with options better suited for a 512MB VM
convert uploaded images to PDF before validating a document
add the date attribute to documents and extract it from the title or set the current day date at creation