Contextual Online Imitation Learning