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

adding 'getClassloader' method to have something to override when needed

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