Bug 1088551 - Use assert.waitfor() in waitForNotificationPanel() to wait for the state. r=amatei, r=hskupin