Added testCompile dependencies.
Trivial change to add BeanNameAware.
Update the RingBufferBatchingMessageHandler to be inline with recent changes in the XD version, which is going to be deleted in preference to this one.