ActionResult refactor to store structured results

Created issue [LP-1362667](https://bugs.launchpad.net/juju-core/+bug/1362667)

Probably needs discussion