Instead of using strings it is better if we can use constants (that
may be the same/adjusted strings) and use those instead in the state
machine used in the runner.
The names are adjusted (and the state graph diagram and docstring)
to reflect names that fit better with there intended meaning and
usage.
Change-Id: Iaf229d6e37730545ba9f2708d118697cb7145992