Patch provided by Vincent Giguère for issue JCR-1645 ( Add support for Map of referenced beans). I made some modifications in the test content class Main otherwise it doesnt't compile. git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-ocm@697950 13f79535-47bb-0310-9956-ffa450edef68