Output leading and trailing control points consistently, and stop purging control points when they are identical to end points.
Stop unconditionally flagging leading control points in S. F. D..
Handle control point flags more carefully when importing OpenType.
Merge pull request #1735 from fontforge/ufo_contents_glif_fix_1

Try to preserve U. F. O. control points a little better.