HSEARCH-1354 Javadoc improvements
HSEARCH-1354 Moving DuplicateDocumentIdTest to TypeMetadataTest. Test itself does not need ORM infrastructure
HSEARCH-1354 Refactoring of test harness. Test based on Junit 3 and 4 were using the same base class which can potentially cause problems

 Introducing a base class for each JUnit version and extracting ORM resource management into a separate class.
HSEARCH-1354 Adjusting to SearchTestCase#getSessions to SearchTestCase#getSessionFactory rename.

Also moving tests into a more appropriate directory
HSEARCH-1354 Typo
HSEARCH-1354 Adjusting old Junit 3 based test cases extending SearchTestCase to changes in this class

 Renaming SearchTestCase#getSessions to SearchTestCase#getSessionFactory
 Disallowing setCfg( null ) to rebuild configuration and introducing explicit forceConfigurationRebuild()
 Direct access to the session - getSession() must be used
 Import cleanups
HSEARCH-1354 Making JPATestCase a JUnit 4 only test base class
HSEARCH-1354 Junit 4 based tests extend now SearchTestCaseJUnit4
HSEARCH-1354 Some related test cleanups
HSEARCH-1354 Fixing error handling during indexing for mass indexer and adding test case