Mixture Martingales Revisited with Applications to Sequential Tests and Confidence Intervals