HSEARCH-472 Formatting, removing wrong import
HSEARCH-472 Renaming DynamicShardsShardingStrategy into DynamicShardingStrategy and making it a standalone class.
HSEARCH-472 Refactoring test - using JUnit 4, introducing helper methods, splitting into multiple tests and adding test for restarting of session factory (currently failing)
HSEARCH-472 Passing BuildContext to ShardIdentifierProvider#initialize
HSEARCH-472 Determining the initial number of shards in ShardIdentifierProvider#initialize and introducing a new service - HibernateSessionServiceProvider
HSEARCH-472 Formatting and class/method refactoring

Renaming CommonPropertiesParser into PropertiesParserHelper. We use *Helper generally for static helper classes
HSEARCH-1414 Removing similarity checks from the document builders and type metadata. Only point where similarity is now determined is IndexManagerHolder.
Also changing contract of IndexManager by removing setSimilarity() and adding Similarity to initialize().
Improving error messages and updating tests
HSEARCH-1414 Deprecating @Similarity for Search 4.4. To be removed in Search 5.