Adds missing nuget.exe
Replaces hard-coded algorithms for parameterized ones.

Closes #285
Merge branch 'v4.3' of https://github.com/DotNetOpenAuth/DotNetOpenAuth into v4.3
Automates package restore on build

This should fix the recent build breaks on TeamCity.
Merge branch 'v4.3'