bug[ats_ATS113140]: Fix Data Rights NPE

Change-Id: Id6109a375286560c4e5285d7ccc0cc0943e730df
refinement[ats_ATS112345]: Let cascade delete clean up branch acl table during purge

Change-Id: I9d4921d1c88b3d37506c3d042aedc32a2a4e38fa