Fix memory leak in dev mode for jobs / msg procs (TORQUE-1029)

Scheduled jobs and message processors were leaking memory at a
substantial rate in development mode when Rails 3.2+ was in use. This
possibly impacts earlier Rails versions as well but has only been
confirmed to be an issue on Rails 3.2.