Implement basic support for display: inline-block.

This still needs a lot of work, but it covers the basic
cases and improves wikipedia while passing all existing tests.

Tweak reftest to deal with linux/travis black background.
Merge pull request #3286 from glennw/inline_block

Implement basic support for display: inline-block.