Local version
HBX-1225 Move the proxy check back into JavaTypeFromValueVisitor, but this time without having to get the Configuration explicitly

I changed this because the previous commit missed Collections of classes that have a proxy.
Merge remote-tracking branch 'karlvr/many-to-one-proxy'