Made Queue.prototype.add a promise

Made add a promise so I can do things, such as close the queue, when I know add is done.