Updated to NuGet 2.7.0.
Using TFS MSBuild's OutDir and GenerateProjectSpecificOutputFolder properties.

During TFS build the OutputPath property is overwritten in MSBuild,
these changes simulates this behaviour for NuBuild.
Modified BuildPackage to create the PackageManager using the same constructor as nuget pack, to work around a potential XML output serialization issue when using empty subdirectories; upgrade to NuGet 2.7
Add .dll and .exe files to subfolder under lib and tools by target framework version.

Uses remoting to reflection-only-load each .dll into a temporary domain
to be able to unload them. Unload required, because versions of the
assemblies targeting different frameworks usually has the same name.
TODO: Current code works with CLR 4.0 assemblies, because before CLR
4.0, the TargetFrameworkAttribute is not stored in the assembly, we
should parse the .csproj file instead.
Bugfix: Break foreach / return when value has found in NuPrepare.GetPackageID().
RemoteAssembly extended with licence and a general static getter method.

The method encapsulates the remoting steps, only a getter delegate
required.
Replacement tokens also uses RemoteAssembly and ReflectionOnlyLoad.

NuPrepare.GetPackageID() and NuPackage.GetPropertyValue() uses the
separated AppDomain.
Fixed issues #19, #20, and #21
New Advanced options: AddBinariesToSubfolder, AddPdbFilesToBinaries
Merge upstream master, fixed #22 #23
typo in comment
indentation errors after merge
Reference the assemblies Copyright attribute from the .nuspec file. #27
Copy additional files to output dir, without GUI. half of the issue #24
Bugfix: OutputPath always ends with "\" during build.

VS and TFS build also.
Merge pull request #26 from lmagyar/master

Merge with v1.8, issues #22, #23
Bugfix: .nuspec and referenced binaries were twice referenced in $NuSource.
Additional files to copy to output directory takes part in incremental build. #24

Included into NuTarget.
Merge pull request #28 from lmagyar/master

Minor bugfix and incremental build integrated version of #24.
Fixed issue #25