use shlex.split on editor hooks on Windows

pipes.quote uses single-quotes, which is wrong on Windows.
But the grouping is still correct after shlex.split.

An alternative would be to use a cmd list, and not do any quoting.
Merge pull request #6927 from minrk/win-editorhooks

use shlex.split on editor hooks on Windows