Line-based diff UI (WIP)

Work in progress of rendering code for line-based diffs.

Here's a screenshot:

![linebased-diff-ui](https://f.cloud.github.com/assets/305003/2182810/c476bd2c-979a-11e3-826c-10dc3826bbbd.png)