Pluripotential theory and equidistribution problems