Isolated from the West, 18th century Edo flourishes culturally and economically, becoming one of the liveliest cities in the world. But foreign forces are coming.