INT-3144 Fix JMX Tests Timing Issue

Really only an issue with the queue channel test, but change
all tests to use CountDownLatches instead of relying on Thread.sleep().