With smart collaborations, social media cred, and a new atelier, Gap is on the verge of a renaissance.