OAK-2026: Incompatibility with PropertyDefinitionImpl#getValueConstraints potentially returning null values.
Return empty array instead of null. Credits to Amit Jain for the patch

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