Sketcher: exposed some functions to Python

The functions: calculateAngleViaPoint, isPointOnCurve,
calculateConstraintError.
Also clarified some code in constraints PyImp.