DRILL-1298: Created generic queues and /queue endpoint for UI and REST