Allow the user to set the maximum length of a tick label

This introduces two new tick attributes: maxLabelLength and precision:

 * maxLabelLength determines the maximum number of characters a tick label (as a string) may contain
 * precision sets the precision a tick label will be reduced to if it is too long