A surprising amount of technology might be making that red light hold you up. Here's how traffic lights detect (or don't ...