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

ResourceLocator must be injectable... replacing hardcoded version
in JdbcAdapter with injection

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