optimizations for page forms
use foreign key for parent page storing

for pages with no parent specified, `parentID` is now `null` (prior `0`)

other changes:
- removed debug code
Merge branch 'master' into pageUtil
Merge pull request #19 from ray176/pageUtil

Various changes regarding the page forms