Refactor pdf rendering

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