Added the ability to write OpenSCAD from FLA

Previously producing the OpenSCAD file was done only by a python script
which read the augmented xml.  This produces a much smaller file
specifically for OpenSCAD.  There are also some corrections to the
four_bar_csys demo.