Removed pagination hack.

Updated pagination for Pelican 3.5, fixed category/tag/author index pagination.