SingletonQueue implements global singleton queues of tasks that can be accessed by their IDs. Package structure is loosely based on https://golang.org/pkg/container/heap/.