Improve detection of collection fields

Partially addresses #58
Use NuGet 2.7 automatic package restore.