use effectiveRoles instead of roles of managed/user in UI workflow scripts

git-svn-id: https://svn.forgerock.org/openidm/trunk@3806 d98387aa-ee2c-4292-a9e6-504d2a719fd3
[OPENIDM-2074] CR-4311 add not null check to workflow deactivate() method

git-svn-id: https://svn.forgerock.org/openidm/trunk@3807 d98387aa-ee2c-4292-a9e6-504d2a719fd3
Follow up to r3806, adding a fallback option for when effectiveRoles are not defined

git-svn-id: https://svn.forgerock.org/openidm/trunk@3808 d98387aa-ee2c-4292-a9e6-504d2a719fd3
(CR-4298) Checkin for OPENIDM-2139 setting up the testing of a connector and a proper display for returned errors.

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