Add paragraphs

Also includes rudimentary support for runs, which will need to be expanded later to accept character styles.

Depends on PR #7: relevant commits are bad752c...24cf227