Representing Habits as Streams of Situational Contexts