Bug 957973 - Enhance waitForPageLoad() with more details for the load status in case of timeout. r=ahal

(cherry picked from commit 0ca6115f5952079be1a63ace839393000456467e)