Wfly 2285 upgrading narayana to 5.0.0.m8

Includes commit from PR https://github.com/wildfly/wildfly/pull/5135 because commits 26ee784 and 6d86037 depend on it. Checked with Brian that this is the correct approach.

The remaining commits are all mutually dependant which means that we cannot raise separate pull requests for them.