Fix dc:title award escaping for XML
UG & PG programmes in XCRI can have different years for both programme and global data (if set to use "current") - core globals pulled from ug
Merge pull request #627 from unikent/feature/xcri-cap-current-support

XCRI-Cap fixes
Port primary index to use programm pointers to build rather than basing from flags
Use pointers to determine live & current, rest still use flags as other status's are for info purposes only
fix brokent tests
Flush caches when system settings change
Fix historical revisions
Merge pull request #628 from unikent/feature/index-use-pointers-not-flags

Use pointers not flags [DNM]
Merge pull request #631 from unikent/develop

Merge into master for rollout