HSEARCH-436 part one - the refactoring

Refactoring existing code to remove PropertiesMetadata and extract annotations processing out of DocumentBuilder