fix display of workers

Accessing worker.state now raises a DeprecationWarning, which in turn causes worker.json generation to fail.  Use the new worker.get_state() instead.
Merge pull request #63 from rascalking/patch-1

fix display of workers