Fix for OPENAM-2783 - review: CR-2158
Changing upgrade mechanism so it can cope with incorrect CTSv1 schema.

git-svn-id: https://svn.forgerock.org/openam/trunk/openam@6256 0f4defcf-c51a-4c67-9f44-6fb5eba73c5d
OPENAM-2729 CR-2163 A NPE in the CTS SAMLAdapter was discovered whilst testing SAML2.

git-svn-id: https://svn.forgerock.org/openam/trunk/openam@6258 0f4defcf-c51a-4c67-9f44-6fb5eba73c5d