Retest of [JBTM-2203] Use Deque for ThreadActionData

This is a retest of https://github.com/jbosstm/narayana/pull/675 with Jespers change cherry picked on the current master.