Drivers in a simulator reacted slowly to sudden traffic emergencies regardless of whether they were thumbing texts into smartphones or dictating them to Google Glass. Larry Greenemeier reports