Fix Lifecycle Callbacks

Remove a bit of code that breaks lifecycle callbacks of parent MappedSuperclasses
Add a test

addLifecycleCallback now only allows a callback once so we do not hook them twice
Fix some code standard things
Fix some code standard things
Merge branch 'DDC-2895' into 2.4