Move the status_message field in the JSON output.

No need for it to be in the summary information, so move it to the full details
bit.
Rename the saved_status field in the JSON output.

Now named 'state'.
Refactor full run JSON output.

Streamlined port rendering so that input and output ports are treated the same.
Makes use of new methods on the run model and renders empty list if ports are
missing.
Improve the runs/new JSON output.

Now gives useful stuff to be filled in and returned.
Add more interaction fields to the JSON output.

Now provides interaction data and a reply address in the run JSON output.
Fix non-ASCII character in gemspec info.

This was causing issues in shells with their LANG environment set to C during
bundle installs.
Fix non-ASCII character in README.

Probably not an issue, but just in case...
Merge branch 'next'

* next:
  Fix non-ASCII character in README.
  Fix non-ASCII character in gemspec info.
  Add more interaction fields to the JSON output.
  Improve the runs/new JSON output.
  Refactor full run JSON output.
  Rename the saved_status field in the JSON output.
  Move the status_message field in the JSON output.
[TAV-508] Allow workers to run against different servers.

This allows us to add in a more taverna servers for scaling.
[TAV-511] Don't save run log if it's an empty file.

This confuses Paperclip's validators.
Merge branch 'next'

* next:
  [TAV-511] Don't save run log if it's an empty file.
  [TAV-508] Allow workers to run against different servers.
Remove I18n support todo item from readme.

This is now done.
Add note about JSON interface to the Readme.
Add a note about the API Docs to the Readme.
Rework the testing of an empty log file for better testing.

We can now mock just the Run#log method for better coverage.
Add tests for taverna credentials in env variable.

For completeness.
[TAV-512] Fix overzealous file extension restrictions for inputs.

This is due to Paperclip being a bit keen, so we just coerce it into being a bit
more relaxed with the extensions on plain text types.
Add an alert flash to the test layout.

Also fix the ReadMe info about flash messages.
Use flash[:alert] not flash[:error].

flash[:error] is non-standard in rails 3.
Recover from failed run creation more gracefully.

Now redirects back to the run form do not die horribly.