Enhanced JbpmJUnitBaseTestCase to identify runtime managers and changed visibility of some variables
prevent LoggingPrintStream to deadlock
(cherry picked from commit 1b5f6ec39c2d5f6a7721717cd7d88e5cc90a603a)