Wrap nbconvert Markdown/Heading cells in live divs

Addresses https://github.com/ipython/ipython/issues/5206

This partially mimics the live IPython notebook layout, but is not a
complete solution.
Merge pull request #5212 from ahmadia/ahmadia/div_layout_fix

Fix mismatch of div/css in nbconvert and live notebook.