Fix total page bug

Topic#total_pages return wrong result, if comments_count == Comment.default_per_page
Merge pull request #30 from tengcong/patch-1

Fix total page bug
Setting firewall
change setup.sh to 2 scripts