Various changes to get specs to pass on windows

* Fixed up cli_specs (there were some system dependent function calls that needed to be stubbed)
* Cookbook profiler git_specs needed some modifications to get them to work with cmd.exe (' -> ")
* Policy store_config_specs used File.expand_path, which is system dependent
* Comparing their SHAs was broken because windows decides to do magic unless you give it the b mode when writing files

cc @btm @danielsdeleo @adamedx 
Spaces: I had to create a fresh vm to develop on. And vim with default
settings is stupid.
Quotes: cmd.exe is stupid. It freaks out when using single quotes

On Tue, Nov 11, 2014 at 1:18 PM, Dan DeLeo <notifications@github.com> wrote:

> In spec/unit/cookbook_profiler/git_spec.rb:
>
> > @@ -93,7 +93,7 @@ def edit_repo
> >          edit_repo
> >          system_command('git config --local user.name "Alice"', cwd: cookbook_path).error!
> >          system_command('git config --local user.email "alice@example.com"', cwd: cookbook_path).error!
> > -        system_command("git commit -a -m 'update readme' --author 'Alice <alice@example.com>'", cwd: cookbook_path).error!
> > +          system_command('git commit -a -m "update readme" --author "Alice <alice@example.com>"', cwd: cookbook_path).error!
>
> What's this all about? Also, looks like this adds two extra spaces?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/opscode/chef-dk/pull/225/files#r20181106>.
>