salt.modules.postgres: Quote all extension work

- Fix regressions in tests introduced by @ticosax (nevermind @ticosax i
  also regulary breaks them :p)
- Quote also alters.
Merge pull request #10884 from makinacorpus/fixpgsql

salt.modules.postgres: Quote all extension work