OPENJPA-2489: Delayed collection proxy tests failing with Java 8

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.2.x@1641895 13f79535-47bb-0310-9956-ffa450edef68
OPENJPA-1988: openjpa does not process persistence unit default <cascade-persist>

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.2.x@1641906 13f79535-47bb-0310-9956-ffa450edef68