Issue #1728 Request Queue Size via REST

This allows the size of a distributed queue to be returned via the REST API. 

As mentioned on the issue, I've not implemented the size functionality for maps as it's hard to do without breaking the interface.