Bug 771043.  Move MediaQueryList tracking from the prescontext to the document, so they will correctly outlive prescontext changes.  r=dbaron