Write out files from embedded resources instead of depending on broken MSTest deployment.
Cleaned up encoding in post build step - can't save batch files in UTF-8.
Merge pull request #1356 from christav/fix-deployment-issues

Fix deployment issues when running from VS