Bug 854790 2/4: DOM.
Bug 854790 3/4: RIL.
Bug 854790 4-1/4: refactor test_filter_mixed.js so that we have multiple messages in one thread.
Bug 854790 4-2/4: test cases for filtering messages by threadId.