Don't require a Hash object to backward compatibility methods. Fixes #145

Our delayed_job integration is passing the Job object here, not a Hash.
Added specs for delayed job integration.
fix indentation
release 1.2.2