Adds entry/exit observer hooks
Slight bit of cleanup
Unit tests for statem
Removes duplicate module.exports
Tests ordering of exit/enter observer hooks
Merge pull request #3 from repeatingbeats/transition-hooks

Adds entry/exit observer hooks