OAK-2197: Node.getReferences throw IllegalArgumentException
Properly deal with multi valued properties

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1633641 13f79535-47bb-0310-9956-ffa450edef68
OAK-1941 - properly cast the string passed to the SQL append operation

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1633646 13f79535-47bb-0310-9956-ffa450edef68