Make sure pages can't be created with system paths.
Remove the JS submission preventing.
Fix validate handler of the title.
Add behat test.
Add suffix to created alias if it is a system path and remove added JS.
Fix comments.
Fix logic and comments.
Remove wrong behat test.
Re-add hidden permission of overridden groups.
Fix comments.
Add behat test.
Fix comments.
Commit work.
Provide a cleaner implementation.
Much more logic, need to populate teh hidden permissions.
Fix notice.
REmove debug
Merge master
Remove notice.:
Remove duplicate.