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.
Check the keys are valid please? split on `.`, check each element is well-formed.