Upgrade delayed_job gem to 4.0.0

Required for Rails 4 compatibility