V1.1 - backwards and forwards navigation code added for easily
       finding next and previous page with changes. Using
       page_ref_magic as a placeholder with dummy self refs.
     - implemented proper relocation and merge in mergeAnnots().
     - some off-by-one errors fixed with first_page, last_page.