XD-1296 Proxy workaround in StreamTestSupport

Similar to XD-1295. Checks whether the moduleDeployer bean in
the container context is a JDK proxy before casting it. Allows
use of jmxEnabled, which causes the integration beans to be
proxied.