force line-height in foreignObject mode

Previously we were translating line-height values from the <text> node
into the tspan rendering but not in foreignObject mode. This makes the
behavior unpredictable. Instead, we’ll translate in both modes, and add
a note to the documentation reminding users that they can override
using d3.classed() if desired.