Shopify/batman — pull request #360 by hornairs (2012-03-15 20:17:02+00:00)
Title: Make Views re-render if their node changes. 

@jamesmacaulay for a quick review.

- View's `ready` events, although one shot, can now fire more than once.
- This means that bindings which instantiate sub views (and thus usually prevent/allow their parent view's ready event) must ensure the allow only happens once. Use EventEmitter::once for this.
- Views are now smart enough to wait for their HTML to arrive before rendering, if they need to.
- If a View's HTML template arrives before a node is set on the view, the auto generated node will be used, but if a node is set after that, the new node will be rendered with the HTML.