Refactor: move filters and parsing code into separate files
move main routine(s) and filter implementation(s) into separate source files. e.g.:
- main.c: main function and helpers; starting from its include block
- pdf.c: parser proper; grammar and basic semantic actions
- filter.c: filters
- content.c: content streams and pagetree structure
- maybe another file just for xref?
- ...?