OAK-2177 - Configurable Analyzer in Lucene index

Add a try/catch while loading the factories and also switch the TCCL before calling as static initialization code in the various factories do initial loading using the TCCL

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