Added basic toHtml implementation.

Plus some more clean up.
Merge branch 'lens-next' of https://github.com/substance/document into lens-next

Conflicts:
	src/composite.js