GenericUnWrapper with test (GEOS-6578)

GenericUnWrapper implemented with method reflection, preconfigured unwrap method lookup for several JBoss environments.

https://jira.codehaus.org/browse/GEOS-6578