BAC-114: Expose length of TaskManager's queue via API

* add ``APIQuerySiteInfoStatistics`` to alter data returned by siteinfo API module
* add ``tasks`` field with number of items queued in TaskManager