Add the possibility to set axis labels.

Add the possibility to set axis labels for the histograms in the configuration
file. The axis label information gets propagated through as part of the
histogram title, so no interfaces had to be changed at the cost of some string
parsing when actually producing the histogram objects.