Add #jruby? to Kernel
Do not register QUIT & USR1 signal handler when on jruby
Adding a test for the list command

If we have no workers, we want it to show
that we have none.
Adding test for list command.

We want to make sure that it shows a worker
when we have one running.
Make cli_test run on its own.
Workers need a #state.

In order for `resque list` to work, we need to know what state
the workers have. This method was in the CLI, but didn't end up actually
existing!

Other changes:

1. So that we can run test/resque/worker_test.rb by itself, some lines
   were added so that worker.rb stands alone.
2. cli_test.rb was fixed up so that it doesn't mock things forever. This
   meant that I couldn't mock things in the other test...
3. Extracted worker construction to a method to make it easier to stub.
   I'm pretty sure this isn't threadsafe, though...
Fix CodeClimate link [ci skip]
Remove unneccesary methods from the Job class.

When removing helpers, these extra methods got introduced. They
are stupid. So we get rid of them by pushing the code down whenever
we actually use it. Once we try to unit test those methods, we can
look at breaking the dependencies further.
We don't need this extra #constantize.

This was added for some reason when we were removing Helpers. We don't
use this one, we use the monkeypatch on String.
Remove config_test.rb.

We don't need it any more. See discussion on 76cc068d8aa87
Merge pull request #929 from strzalek/jruby_warning

jRuby warnings
Do not define methods if they're already defined
Merge pull request #936 from strzalek/core_ext_enhancement

Hash core ext conditional definition
Whitespace cleanup
Refactor Resque::Job#queued and destroyed to use process_queue.
Merge pull request #937 from strand/refactor_job_queued_and_destroyed

Refactor job queued and destroyed
DRYing up process_queue
Merge pull request #939 from jonhyman/feature/refactor

DRYing up process_queue
Replace tabs with two spaces.
CLI test no longer requires a redis server.