Only match last occurrence of page pattern

As reported in issue #98, a document may have the p[:digit] pattern
naturally occurring in the title.  When it does so, it throws off
the page matching Regexp and the incorrect page is returned.
Set system-wide default ruby to be 2.1