.gitignore update for windows people, and tidying psexec

While working on https://gist.github.com/4422771 I tidied up psexec. Also added a .gitignore rule for files ending with a tilde.