Fortysomething CEO Jeremy Stoppelman had personally donated $125,000 to the Democratic Party and its candidates. So when Yelp moved into its new global headquarters in 2013, Congresswoman Nancy Pelosi of Pacific Heights, the most ostentatiously wealthy neighborhood in the city, cut the ribbon.