Changed method to act on any state event
Changed tests to match changes to function
Fixed docstring
Docstring fix
Changed to throw an input in case of bad state action rather than defaulting to enter
Merge branch 'feature/issue-4-state-total-metric' into feature/issue-5-sessions-until-state-metric
Moved validating actions and creating metric labels into their own function