action-set: a jujuc command for Actions to send values back to state

action-set permits action hooks to define an arbitrary map of params
which will be returned to the state server at the end of the Action,
or to specify --failed with an optional failure message.
I think this needs some rework but it's noisy here and I don't seem to be able to compose anything better.

I think a worked example would be very helpful.