Add unproxy method for CDI

Add a portable unproxy method for CDI, as described here:
https://community.jboss.org/message/835571