Upgrade Narayana to 5.0.4.Final

https://issues.jboss.org/browse/WFLY-4175
This code used to live in the XTS subsytem, but doesn't actually belong there as you can use compensating transactions without XTS  (in the case where you don't need a distributed transaction). I think during the move, I forgot to change `Phase.DEPENDENCIES_XTS`. 

I think we need to change `Phase.DEPENDENCIES_XTS` to `Phase.DEPENDENCIES_TRANSACTIONS`. 

I'm on holiday today so can't test this change. Maybe @tomjenkinson can give it a go?