Add optional permission checks up the containing branch of the page tree.
Merge pull request #1 from netcarver/master

Add support for checking permission of page's parents.