Fix content saving to wrong Page and trim down content.coffee

- remove methods only used internally in one place
- rename `getNextPage` to `getNextPageNumber` to match `getPageNumber` and `setPageNumber`