Fixed bug #71: Thunderbird: OptionsStore.set/remove callbacks not firing. Refactored Mozilla background service code. Made auto-tests available on Thunderbird (they would have caught the bug).