Bug 848895 part 1.  Always hold an on-stack strong reference to mRules when calling into it.  r=ehsan
Bug 848895 part 2.  Null-check the pointer to the editor that the edit rules hold.  r=ehsan
Bug 822281.  Stop assuming XPCOM timers can't fire early (at least where IEEE doubles are concerned).  r=avih
Bug 832899 followup to add a test.