CHEF-4553: Guard interpreter and powershell boolean awareness

Implementation of the latest feedback on https://github.com/opscode/chef-rfc/blob/adamed/resource-guard/rfc0001-resource-guard.md.