Snap beat analysts' estimates across the board in its second-quarter earnings report.