After sleepwalking into a wall, journalist David Randall was left unsatisfied with his doctor’s recommendation to “take it easy.” The incident left him determined to uncover the mystery of sleep, a subject he explores in his new book, “Dreamland: Adventures in the Strange Science of Sleep.”