ActionResult refactor
Merge pull request #527 from johnweldon/actionresults-update

ActionResult refactor to store structured results
LP-1362664 :: Rename actionDoc Payload to Parameters
Merge pull request #628 from johnweldon/LP-1362664

LP-1362664 :: Rename actionDoc Payload to Parameters

Mechanical change
ActionFinish in the API
TMP API: action-set: a jujuc command for Actions to send values back to state
TMP API: ActionComplete / ActionFailed called after Action completion
Initial work
Fixed up action-fail.go
WIP action-fail
First passing test for action-fail
Action-fail now passing tests
action-fail-dev good to go
Modified to use internal implementation of ActionSetFailed
Tests now working, refactor complete
Added context test for action-fail
WIP action-fail: now builds
WIP action-fail: Unexpected error in uniter test
WIP action-fail: passing uniter tests
WIP action-fail-dev: Added multi-invocation, fixed context and uniter tests, needs action-finished api endpoint