Domino’s Pizza is popping thanks to ‘Emergency Pizza,’ clever tweaks to its loyalty program, and a little help from psychology