Re #8355. Got rid of memory leak in a test.
Re #8355. Check for null pointer in Logger::shutdown
Re #8355. Added a helper that will cleanup the logger on test exit.
Re #8355. Plugged memory leaks in DynamicFactory.
Merge branch 'feature/8355_kernel_memory' into develop