El Salvador was once synonymous with gang violence. Now tourists are flocking to its black-sand beaches, world-class waves and burgeoning resorts.