Trigger a reflow when nodes are appended and removed from the document. Fixes #907.
auto merge of #915 : jdm/servo/pinglayout, r=metajack

...Fixes #907.