Fixes to ensure org.apache.openejb.InvalidateReferenceException is wrapped, else client gets a ClassNotFoundException.
Fix org.apache.openejb.core.stateful.StatefulContainer#releaseInstance - Actually throw the new IllegalStateException and synchronize on something useful (this).
Fix org.apache.openejb.core.managed.ManagedContainer#releaseInstance - Actually throw the new IllegalStateException and synchronize on something useful (this).

CXF version 2.6.4
Finals/Overrides.

git-svn-id: https://svn.apache.org/repos/asf/openejb/trunk@1428331 13f79535-47bb-0310-9956-ffa450edef68