Adding option to constraint angles of new paths

Adding methods to constraint newly created angles depending on shift
key being pressed. Angle can be customised with a pair of class methods.