OAK-2272 - Compatibility support for pre index rule configuration

Added support for auto upgrading the index definition to newer format

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