Fix resize broadcaster so that components can be deregistered before rendering.
Close #1245.
Add unit testing to ResizeBroadcaster registration.
[minor] take into account feedback, rename vars, add additional unit test
Merge pull request #1247 from palantir/fix-resize-broadcaster

Fix resize broadcaster so that components can be deregistered before rendering