OAK-1589 MongoDocumentStore fails to report error for keys that are too long

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