ported JavaScriptError class and tests from java to C#
enabled NuGet restore on project build