Backports r1486304,1486310,1486313 from branch 12.04 (wich was merged by Adrian from trunk)
r1486304: Backported GenericEntity immutable fixes from the trunk.
r1486310: Backported entity cache fixes. This commit breaks the rule of no API changes in a release, but I am making an exception here because the methods that were removed should NEVER be used because they GUARANTEE data corruption
r1486313: Marked some Delegator methods as deprecated because they should not be used

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/release10.04@1486533 13f79535-47bb-0310-9956-ffa450edef68