Issue17

Pull request for #17 .  Also reworked GenerateNuSpec and ReadPackagesConfig tasks to use NuGet classes instead of XDocument.
Typo. Should be `solutionDirectory`.