Fix bug 841124: Add pagination to revision history view.

This adds the backend support; will still need templating support to show all the paginator bits, and a selector for determining how many revisions to show per page.