Add queue package

This is based on the [Ruby QueueClassic library](https://github.com/QueueClassic/queue_classic).

Opening now for early feedback.

Prerequisite for #536 
Is this necessary to push jobs onto the queue? If not, we eat an extra db connection for every instance we create.