refs #8381. More robust and flexible input checks

More robust and flexible input checks. Perform any conversion if possible. Give errors on python side if bad inputs provided. Refactor code to use getWorkspaceNames from both modules.
Merge branch 'feature/8381_python_peaks_presenter' into develop