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-472 Deprecating IndexShardingStrategy, removing ShardIdentifer#getShardIdentifiers and changing return values for methods returning String[] to Set<String>, updating javadocs
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.
HSEARCH-1414 Updating the online docs regardig the similarity configuration changes
HSEARCH-472 Changing the way configuration works. Removing the 'dynamic' for number of shards and also removing shard_identity_provider property. ShardIdentifierProvider and IndexShardingStrategy can be configured via the same property
HSEARCH-1414 Updating the online docs regardig the similarity configuration changes