Restore JMS backend functionality

Re-enable the tests which where disabled when we updated to WildFly, and fix the modularity/dependency entanglement.

 - https://hibernate.atlassian.net/browse/HSEARCH-1440
 - https://hibernate.atlassian.net/browse/HSEARCH-1613
 - https://hibernate.atlassian.net/browse/HSEARCH-1615
 - https://hibernate.atlassian.net/browse/HSEARCH-1618