Ambitious urban planning and community projects have transformed Medellin from one of the most dangerous in the world to a hub of innovation.