Removed use of arrays in colour images

Refs #10441
Replace arrays with vectors

Refs #10441
Use const shared pointers for DataArray

Refs #10441
Replace SpectrumDataSource with shared pointers

Refs #10441
Merge branch 'feature/10441_refactor_spectrum_viewer' into develop