Added wrapCanvasText method to Text class. Wraps text in a box of given dimension