Fix getEndpointClass() method implementation on message endpoint factory for MDBs

The commit here fixes the implementation of the new method that's exposed by the JCA spec on MessageEndpointFactory.

This fixes a test in the TCK.