Added pagination for posts
Added pagination to category posts page.
CS fixes, removed useless duplicate array entry.
Merge pull request #14 from RWOverdijk/feature/pagination

Added pagination for posts