PRES-6368 Added support for HTML fragment caching
To maintain backwards compatibility when loading package manifests, added check to see if "includes" or "dependencies" is an Array