Added text-anchor option to TextElements

Added an option to transform.TextElement to allow it to change the text-anchor text setting. This allows text to be positioned relative to its 'start', 'middle', or 'end'.