Bug 842627 - On cold app launch, wait for the app to be loaded and painted before screenshoting.

r=vingtetun