Update pages plugin to run with @before

This allows documents using the pages plugin to also be compatible with
the pagination plugin.  Note that this may slightly change behavior if
this was being relied upon to select virtual pages.

Version bump.