OAK-1941 - improve UTF-8 handling in VARCHAR

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