Costco didn't just install scanners in stores to crack down on membership sharing. Read on to see what the strategy entails.