Foursquare, one of the first apps to put location-sharing on the map, is rethinking its service and dividing it in two in an effort to stay relevant.