[TAV-485] Better tests for the worker code.

Use flexmock to stub parts of the Taverna Server client libraries so the worker
code can be tested within the unit tests.
Set Taverna Server config in the tests for Travis.

There are no defaults for these settings as they are server names and passwords,
etc.