baseFeatureWriter: add helper methods, set compiler in context, let _write method update feaFile, restore mode and features ctor args
baseFeatureWriter: add helper methods, set compiler in context, let _write method update feaFile, restore mode and features ctor args

googlefonts/ufo2ft,moyogo/ufo2ft,jamesgk/ufo2fdk,googlei18n/ufo2ft,jamesgk/ufo2ft