Refactored signatures of many C++ methods for more efficient and safer style. Includes a bugfix for Point::nearest_point() which was returning a pointer to freed memory. #1961
New Polygon::triangulate_convex() method
New ExPolygon::triangulate() method
Merge branch 'master' of git://github.com/alexrj/slic3r into feature-xs-types