PBI has two modes for interacting with media + MPRIS, watching the DOM
tree from it's own JS context for normal controls and a massive
workaround for crossing contexts to shim the Media Sessions API for
getting metadata. We currently inject this on every page.
This patch moves that to only be when we find a valid audio/video
element, reducing work and risk of breakages on most sites.