Add square_thread()
Move thread examples to a module
Add helper function for converting circular pitch from units of mm to 180/PI mm

This lets us specify circular pitch in a much more sane manner when generating
gears, while preserving backward compatibility.
Add helix_angle option for specifying gear twist