Small breaking change: Passing state to individual state callbacks, for the sake of uniformity with the global callbacks and for ease of retrieving state within callback. Updated README and tests.
Merge pull request #6 from milkisevil/master

Small breaking change: Passing state to individual state callbacks