Integrate trimLabels() into code.

trimLabelsLeft() and trimLabelsRight() are no longer used. Some tests in LinearTimeScales will have to be ignored for now as there is no clear choice on how much to trim labels right now.

Created two test cases for TemporalGraph2DRenderer using new trimLabels() method.