Refs #9501 Fix Warnings and correct references

The exceptions are no longer references, as it apparently wasn't the right way to do it

The compiler warnings should be fixed
Merge branch 'feature/9501_ReflectometryReductionOneAuto_to_Cpp' into develop