5 0 6 rebase

These are all my robot framework commits from 5.0.6. They all pass locally but will need some related commits from @sbesson before they pass on ci builds.

One omission from below is webtest removal, which will be in a separate PR.

Further PRs will also add robot tests for the new rendering settings functionality.