Expose the stats attribute on a queue

The patch fixes other 2 issues caused by the implementation of Message
objects.

Co-Authored: Alex Gaynor <alex.gaynor@gmail.com>

Change-Id: I0e9abd3e197ecc2d73f16395becd479a3157c6b4
Merge "Expose the stats attribute on a queue"