Update .gitgnore

Use much more detailed gitignore to avoid build items, resharper and
nuget.
Update nuget if the solution uses it

Update nuget packages if parent solution has a `.nuget/` directory. This
is useful when the project is used as a submodule.
Set the proxy to use default credentials

Use default credentials on proxy objects when making web requests.