updated and fixed the template build and nuget build for wp8 and windows 8.