AdS manifolds with particles and earthquakes on singular surfaces