WFLY-3674 add extension for non-transactional entity manager invocations, to defer entity detachment until persistence context is closed.
Merge pull request #6547 from scottmarlow/WFLY-3674_deferdetach

WFLY-3674 add extension for non-transactional entity manager invocations to defer entity detachment until persistence context is closed.