Add paging to pastelog.py

This adds automatic paging of logs exceeding the site limit into
multiple files.