Split document class in separate files

Rather expand the class in other files than
include helper modules.
Separate document specs based on file

Move some pdf helpers into own helper file
Add a default config helper method for easy setup
Move complexity from pdf exporter to document