Fixed NullReferenceExceptions in package task

Added nasty reflection hack to bind global MSBuild properties in the package task
Build for version 1.6.0