Add kpm wrap functional tests

parent #936 
Thanks for the nice hint. I just realized that I shouldn't assert the exit code of MSBuild.exe because it's only used to generate artifacts that our tests depend on.

I added assert for the output of `ConsoleApp1`, which will fail if any previous operation (including MSBuild and `kpm wrap`) fails to generate correct output.