Set correct num of pages when total_posts exactly equals to per_page, also fix the active page in paginator_navigation
fixed the num of posts on rendered page is not per_page as configration, but actually per_page - 1
Merge pull request #15 from hugozhu/master

Correct the num of pages when total_posts exactly equals to per_page