Include file extension in transient save dialog

If extension information for the transient file is available (e.g. if the syntax
has been manually set by the user), the Save As dialog suggests "editorname.ext"
as filename.
Otherwise, the dialog suggests "editorname" only.
Merge pull request #1187 from ndr-qef/transient-save-ext

Suggest extension when saving new file with known syntax