Use helper methods

This Pr does the following things:

- Use the `GetLibFiles()` extension method from NuGet.Core to retrieve the lib folder in a package
- Use `PackageHelper.IsPackage` from NuGet.Core to determine if a file is a NuGet package
- `Directory.CreateDirectory` does a recursive creation by default, so the `CreateRecursive` extension method is not needed