Jim Cramer sat down with the CEO of Foursquare to see how his social media company pivoted to big data.