resolves #1162 add docinfo extension
fix broken cache logic for include processor lookup; consolidate logic
code review for #1162 docinfo extension

- don't pass attributes to extension process method
- rename pos attribute to location
- optimize lookup for docinfo extension processors
- add dsl method at_location for specifying docinfo location
- minor docs and code cleanup
- add test for docinfo footer