Make helper functions return lists not tuples
Apply updates required due to modifications in fancypages

* Migrating VisibilityTypes to PageGroup
* Move PrimaryNavigationBlock from FP to OFP
* Add fields 'depth' and 'is_relative' to PageNavigationBlock