preliminary, but fully working pagination plugin with demo
minor refactoring
Merge pull request #54 from awc737/paginate

pagination extension