Add the red star for plotSpectrum when wrong input is given

This is done by substituting the current QLineEdit for the input with a
customized class that joins the QLineEdit and the * red mark, which is
shown in case of error.

re #6444
Merge branch 'feature/6444_plot_spectrum_error_marks' into develop