updated code on master branch with jgrevich's pagination

Placed jgrevich's code off master branch from https://github.com/refinery/refinerycms-search/pull/24