a state change event for failed session establishment
added a basic test for state change functionality
ZkStateChangeTest: complete state asserts. Removing stray printlns
Merge pull request #24 from fanatoly/session-establish-error

a state change event for failed session establishment
bump version from 0.4-dev to 0.4
bump version from 0.4 to 0.5-dev