changed onchange args to pass state instead of just name
removed current state check in action method
added global onEnter and onExit signals, docs and test
Action is now passed to all callbacks (global and state specific). Added/updated supporting unit tests.