Reduce coupling between layout and the DOM by separating out the layo…
0a95672
…ut interface. Eventually, the layout interface will be moved along with the DOM into a separate crate.