changes to opentest branch only.
fixed bug in some line graph data sources having empty data.
fixed bug in stockpile lines for line graph not showing when any entries are missing.
fixed not being able to click on top 2 buttons on line graph.
line graph buttons now appear selected after being clicked.
changed faction opinion history to use faction leader opinion.
made faction names show instead of ID in line graph options.
faction lines (opinion and power) now share faction's colour.
