Allow gotoState to pass arguments to the new state.
Add a unit test to ensure that gotoState properly passes additional arguments to enteredState and exitedState
Merge pull request #1 from TannerRogalsky/master

Allow gotoState to pass arguments to the new state.