Distributed multicomponent lineshape fitting routines and benchmarks for photoemission spectroscopy and spectral imaging