AXIS2-5646: Added unit test code able to intercept the IllegalStateException occuring during the shutdown of the OSGi bundle.

git-svn-id: https://svn.apache.org/repos/asf/axis/axis2/java/core/trunk@1594378 13f79535-47bb-0310-9956-ffa450edef68