peaklocate tidy + print to file

Cleaned up peaklocate a bit.
Added functionality to write results to a file.
plotspectrum xlabel

Added the functionality to change the xlabel in plotspectrum. Defaults
to ''Kanalnummer''.
channel2energy

Added channel2energy function.
peaklocate xlabel

Added functionality to change the xlabel in peaklocate.