alias num_pages to total_pages

for compatibility with kaminari's paginate helper
Merge pull request #198 from kieran/master

alias num_pages to total_pages