Probabilities and metrics : convergence of laws on metric spaces, with a view to statistical testing