added pagination functionality
Merge branch 'master' of https://github.com/wilwizard/karma