Included NuGet generation into the build scripts.

* Also, removed the log4net dependencies.