Refactor pdf rendering

* [ ] Move pdf rendering logic into a class
* [ ] Add tests for this class to make sure correct files are kept on disk 
* [ ] Make sure that management command deletes file
* [ ] Document how printout cleanup works