[Misc] Refactoring and introduction of TestComponentManager and MockitoComponentManager needed for XRENDERING-296 (Make it possible to write Rendering integration tests using Mockito)