[WFLY-561] Resource adapter work manager statistics

Resource adapter part of the to-be-closed #5609.

@jesperpedersen had some comments on this that I believe I've addressed. I also removed the "setAlternatives" setting that Jeff Mesnil pointed out was incorrect in his comments on the messaging part of 5609.