Bug 899686: Mock out nsITimer to avoid race condition in tests; r=yoric