Add Sidekiq middleware

This middleware preserves the current tenant for the Sidekiq background job.

We don't store the whole tenant object with redis but only the class and the id.