added automated build

Added powershell automated build with testing and nuget packaging for .net 3.5 and .net 4.0.

Also switched to Newtonsoft.Json nuget package dependecy.