Gecko 22 compat update

Bugs 880314, 880309, 880302, 880039, 880018, 879987, 879975, 879551, 879525,
876388, 867270, 870365