AS7-6695 upgrading JBossTS to 5.0.0.M2

I understand that PRs containing multiple commits is not best practice. However, these commits all required to upgrade JBossTS to Narayana 5.0.0.M2.