Fix Negative wrap around in page parents

Fix Negative wrap around in page parents

- Change PageStatistics::incrementParents() to use application math as
  opposed to database math
- Set cChildren to 0 if method would increment to a negative number
Merge pull request #1338 from mkly/fix_page_decrement_wrap_around

Fix Negative wrap around in page parents