add vars for DecisionTypes and EventTypes that contain all the valid values
helper maps and String() methods for HistoryEvent and *Decision
initial test for error handling mechanism, fix to bugs the test found