Added ThingMangerOSGiTest.
Completed ThingFactoryTest.
Fixed NPE in ThingManager.

Signed-off-by: Dennis Nobel <d.nobel@external.telekom.de>