Add failing spec for PowerShell

Based on ruby_spec.rb.

It adds "platform: 'windows'" to the payload, which presently breaks
many specs.
Add templating logic for PowerShell
Use 'Set-Variable' cmdlet for Windows
Add Windows-friendly build parts