Affine braids, Markov traces and the category O