Issue #1728 Request Queue Size via REST

This allows the size of a distributed queue to be returned via the REST
API.
Add tests for queue size rest API.
Merge pull request #1809 from drewrm/issue_1728

Issue #1728 Request Queue Size via REST