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 remote-tracking branch 'origin/feature/6444_plot_spectrum_error_marks'