Fix custom y-axis formatting

Move the customYAxisFormat function from ChartBuilder.js to Gneiss.js
since it was previously broken by refactoring and it seems like a
reasonable default.
Define titleLine before setYAxes() attempts to use it