Multiple submissions with the same copy number
It appears that a simultaneous upload of multiple PDFs may bring the database into inconsistent state and create multiple submissions with the same copy number and exam id (originally reported in #137).
The likely fix is to commit the database as soon as we create new objects. This is not currently done in pdf_helper.process_page
.