Attach PDFs to emailed statements [#47417]

This patch risks angering Code Climate again by extracting code it ignores (from inside a `.prawn` file this time) into a class. (late update: I'm kind of shocked CC gave `StatementPdf` an A)