Change attaching a listener to a leaf. The listener is no longer called when it is attached if the (typeof value == 'undefined')
Merge branch 'master' of https://github.com/tavoe/stately