Issue #2 implement TestingInApplicationMonitor

which allows thread local state handling to be switched on and off, to
allow multithreaded testing of classes which in production usage are
singletons, but are instantiated several times in different threads
during integration tests and register state values (with identical
names)