(CFACT-91) Implement external facts on Windows

Add Windows external facts and execution infrastructure supporting it. Also ends up filling in Ruby custom fact support.
Yup; I'd been considering removing the substr but hadn't gotten that far.