Fix OOIION-1010

This addresses inconsistencies between the UI and the extended resources/backend for site pages.

Changes include:
- Added attribute for parent site
- Moved to explicitly set extended attributes
- Set attributes based on full subtree of associated resources
- Revision of the code on obs MS