Action api rename

Since we have chosen to go with "action" as the supercommand for
Actions, this renames the api and apiserver packages appropriately.

Also added a small testing change to state/actions_test to enhance
reporting on a test which had an unusual fluke fail during my testing.