Cast POSTS_PER_PAGE to integer to prevent 500 error on index page.
Merge pull request #36 from kraffslol/master

Fixed index page to no longer show the 500 response code.