Bug 906096 - Switch InputMethod to WebIDL in IME tests and FF Nightly

Re-landing https://github.com/mozilla-b2g/gaia/pull/11645