fixed prawn 1.0.0 compatibility

Hi there,
made a few changes for prawn-blank to work with prawn 1.0.0. This is my first pull request so please be patient in case of any mistakes on my side. Cheers Edi