Rename the actions API package to action

Since we have chosen to go with "action" as the supercommand for
Actions, this renames the api and apiserver packages appropriately.
Use jc.TimeBetween in state/action_test TestAddAction for better reporting
Merge pull request #1106 from binary132/action-api-rename

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.