[HORNETQ-1230] fix compliance of RA getXAResources

fix HornetQResourceAdapter.getXAResources() by returning null (instead
of raising an exception) when auto recovery is used.
If there is no auto recovery, return the XAResources for each RA's
inflow activation endpoint.
Merge pull request #1162 from jmesnil/HORNETQ-1230_RA_getXAResources

[HORNETQ-1230] fix compliance of RA getXAResources
fix receivebody to return null on null message
Merge pull request #1164 from andytaylor/master

receivebody check for null
Fixing transaction mode on JMS2 / context
align only: no code changes on SecurityTest
Security on RA adjustment for new TCK