CSharpProxyTemplate fixes and improvements

My work is not 100% done but I think there are some useful contributions.
Javascript proxy needs testing and I believe `WebApiProxy.CSharp.targets` is not referenced correctly when you install the nuget package.