refactor the live activity runner in the controller.
Separate out the state machine for activity transitions to make generally useful.

[Review issue 2502001]
Didn't submit.

[Review issue ]
Merge branch 'master' of https://github.com/interactivespaces/interactivespaces
Commit???

[Review issue 2502001]