CAY-1887 Move class loading under Di, differentiate between Cayenne and application classes

deprecating 'getJavaClass' 9n embeddable

git-svn-id: https://svn.apache.org/repos/asf/cayenne/main/trunk@1544995 13f79535-47bb-0310-9956-ffa450edef68
CAY-1882 Porting to OSGi environment

release notes

git-svn-id: https://svn.apache.org/repos/asf/cayenne/main/trunk@1544996 13f79535-47bb-0310-9956-ffa450edef68