Bug 864664 - test suite "displaying the container after a timeout" somet...

...imes failed r=etienne

Use MutationObserver to control when all the expected DOM changes are done.