Bug 864664 - test suite "displaying the container after a timeout" sometimes failed r=etienne

Use MutationObserver to control when all the expected DOM changes are done.