Changed nuget to use msbuild targets and support web app publish

I changed the nuget packet to use msbuild target instead of the post build event.

It is less error prone, since a user might change the post build event and damage the script.

I also added support to Web Application publish.