Adding regression test
Make router's render idempotent

This change prevents us from tearing down and recreating a view when
the new view is functionally identical to the old view.

This has important benefits:

 - when you're changing context within a route, the view itself
   remains stable, and the controller has full control over how and
   when to update the data it's presenting to the view
   layer. (Previously, you got a forced re-render immediately whether
   you were ready for it or not.)

 - when you're changing between routes, you can decide to keep the
   prior view in place, and replace it later when you're ready. (Think
   animated transitions between routes.)

This supercedes the proposed changes in PR #2563 (which has already
been reverted).
Clean up pendingDisconnections propertly
Merge pull request #2593 from ef4/idempotent-render

Idempotent render