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.