Profinite braid groups, Galois representations and complex multiplications