added extensibility options to allow event-based page end writing, to help with recent hummusjs requirements
Merge branch 'master' of github.com:galkahana/PDF-Writer