Batch subupdates caused by any state update

Counterpart to facebook/react#1363.
Merge pull request #16 from spicyj/1363

Batch subupdates caused by any state update