Add support for detecting whether screen orientation lock succeeds or fails. Current testing suggests that Firefox Nightly on Android does not support orientation lock. See https://bugzilla.mozilla.org/show_bug.cgi?id=966480 .