Fix part 1 of #18353
Add non standard opts into saltfile
Add extra_filerefs to salt-ssh options
initial sdicode function
make the encodings list more robust
get the right locale
unicide, prevent returning None
disable lint error
Merge pull request #18367 from thatch45/sdecode

initial sdicode function
Merge pull request #18366 from thatch45/saltfile_parser

Get non standard saltfile opts into opts