Initial changes for gearman-ruby fork, using 3.1 branch.

Require gearman/server to allow getting status of workers.
Fix workers regex matcher.
Fix connection_pool sockets variable scope and invalid method call.