`plotter_helper.average_spectra` raises exception if wrong error_type is passed.

It took me half an hour to figure out why the error_type was not picked up in an IPython notebook. Turns out I was passing 'stdev' instead of 'st_dev'. Now such mistakes will get caught quickly.