Polyline display

This PR display the segments length and angle when a polyline is used.
To test:
 * Draw a line and "break" into segments and Save
 * Go to the Results tab.
 * The length should display length per segment and the total. Same for angle.
 * Export to Excel. The value displayed in table should be exported as such in Excel.