San Diego City Council has approved a licensing system for short-term vacation rentals hosted on sites such as Airbnb, as the nation’s eighth-most populous city looks to address a long-simmering debate pitting property owners’ rights to earn extra income against their neighbors’ complaints about unwanted noise and traffic.