Update libraries, improve extension methods for arrays

Update NuGet packages.
Improve extension methods in Arrays class, improve implementation of delegate
type conversion.