Pintrest shares soar as user growth and ad revenue surge in the second quarter.