Bug 973728 - use Editor.commit() on API level 8; r=mfinkle