CMS Technical Design Report for the Pixel Detector Upgrade