CAY-1882 Porting to OSGi environment

a basic OSGi Module
* AdhocObjectFactory with Osgi-friendly classloaders

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

explicitly setting bundle ClassLoader in OSGi module

git-svn-id: https://svn.apache.org/repos/asf/cayenne/main/trunk@1544946 13f79535-47bb-0310-9956-ffa450edef68
CAY-1887 Move class loading under Di, differentiate between Cayenne and application classes

(also supporting for 'void' primitive type)

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