OAK-2272 - Compatibility support for pre index rule configuration

Add a 'compatVersion' property to force usage of specific index format version. This is done to ensure that current test work untill OAK-2278 is done

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1640722 13f79535-47bb-0310-9956-ffa450edef68
OAK-2278 - Same Lucene index to support both property restrictions and fulltext constraints (WIP)

* Restrict LuceneIndex to work with V1 format and LucenePropertyIndex to work
   with V2 onwards
* Testcase currently specify compatVersion to ensure that LuceneIndex gets used.
   This is required because testcase create a fresh index and by default fresh index
   are always created to support latest version. In actual case (upgrade) LuceneIndex
   would anyway be used as for existing index compatible format is used

As we enable support for fulltext in LucenePropertyIndex this compat mode would be
removed

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