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.