Add `JobHandler` mixin

This adds a `JobHandler` mixin that implements our handler pattern
for Qs jobs. This will allow defining handler classes for
processing background jobs.