Fix some logic issues in PageCreatorService

Also allow the parent to be a page instead of just a node.
Merge pull request #74 from Kunstmaan/2.2-pagecreator_updates

Fix some logic issues in PageCreatorService