onSave functionality for the shader editor

-ShaderCompilerMediator has a signal/slot for handling on save which is
triggered by script.