[NUCCORE-922] Update DetachListener to throw NucleusUserException to
avoid JDO dependency (not used much if at all anyway). Comment out
JDOPermission checks from EnhancementHelper (don't know anyone who uses
that either). Remove dependency on jdo-api