Update to JBoss Modules 1.4.0.Final

Fix a memory leak which can occur when you have many EJB requests interspersed with GC.  Also delete an unused private method.

See JIRA https://issues.jboss.org/browse/JBMAR-153