Add rudimentary polygonics

Also make the curve tool draw lines since that's how you start using the
tool (then you place 2 control points)
Note: issue with extra undoables when using the polygon tool