BEIJING — Mao slept here. So, too, did the imperial eunuchs who found themselves unemployed after China’s last emperor was sent packing. For much of the last 700 years, however, the most prominent residents of the quarter just north of the Forbidden City have been a pair of massive brick towers whose drums and bells helped Beijing’s citizenry keep track of the hour.