Add a take() method to TransactionalQueue (for #2600)
Merge pull request #2699 from Dretch/transactional-queue-take

Add a take() method to TransactionalQueue (for #2600)