OPENIDM-2116 CR-4249 Undefined/null check for existing target during deprovisioning event, general undefined/null clean-up

git-svn-id: https://svn.forgerock.org/openidm/trunk@3796 d98387aa-ee2c-4292-a9e6-504d2a719fd3
OPENIDM-2131 - Document creation of certs over REST
Reviewed by Jason over Skype

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