Bug 847094 - fix intermittent chat test failures by waiting for content load event.  r=felipe