Add pagination for chapters.
Add total page in returned JSON.
Add pagination for chapters of story.
Fix wrong template variable.