Preserve CDATA nodes when converting XML string into XMLElement

CDATA was getting identified as DOMText and therefore sanitised when it should be preserved as a CDATA section.
Fix indentation
Merge pull request #2208 from g-wilson/integration

Preserve CDATA nodes when converting XML string into XMLElement
Move bail out earlier in the resolvePage method
Remove dependency on Profiler in the extension manager
That was the wrong check for Profiling...
Added $force param to Symphony::initialiseExtensionManager(). Allows fresh ExentionManager object to be created. Fixes #2209
Symphony now requires PHP 5.3+, so there is no longer a need for code to emulate PHP_VERSION_ID constant.
Merge pull request #2210 from pointybeard/master

Added $force param to Symphony::initialiseExtensionManager()