Aggregate consent PDF generation

I have two problems. @tilius, @slonka - can you take a look at the comments?