7 people were killed and more than 200 wounded in a wave of violence in Sri Lanka where the prime minister Mahinda Rajapaksa resigned after weeks of protests over the worsening economic crisis.