adding an optional title to the plot legend

Conflicts:
	R/plot.xbal.R
correctly handling single line tool tips