Add pagination

I saw that the pagination was available in the original SearchEngine model and decided to implement it further.  This is still a bit 'first draftish' and could be refined.  I can provide patches for the other branches if desired.