Fixed: index type was not recognized
Fixed: registry section was not recognized by the registry
Fixed: removed type hinting of $data parameter since it shall be possible to register vaule of different type
Implemented: a detection of the type of the value to be registered
Tested: added test for special situation
Fixed: reflected feedback from review
Fixed: type map was lost after PHP process dies.
Merge pull request #9 from liip/fixElasitcSearch

Fix elasitc search