[KNIFE-386] Add function to check for winrm readiness

https://tickets.opscode.com/browse/KNIFE-386

Prior to this patch, windows bootstrap attempts failed because it prematurely tried to run the bootstrap sequence when WinRM wasn't ready to accept commands.

This patch adds a function to ensure that winrm can successfully run commands before proceeding with bootstrapping.