Miscellaneous code improvements:
- work on a reference of the site config while validating it.
- always add default `auto_formats` unless specifically forbidden.
- use `self` keyword in `UriParser` to access private methods.
Changed `all_page_numbers` to take a "radius" of pagination.