[CR-4349][OPENIDM-2037] Refactored so that creating and testing connector configuration is more clear.

git-svn-id: https://svn.forgerock.org/openidm/trunk@3819 d98387aa-ee2c-4292-a9e6-504d2a719fd3
OPENIDM-2127 Backed out due to regression.

git-svn-id: https://svn.forgerock.org/openidm/trunk@3821 d98387aa-ee2c-4292-a9e6-504d2a719fd3