Part of port from lucene3.3.0 to lucene4.7.2. Solr related. Adding new contexts folder for solr4.7.2.