Fixes several issues with paragraph styling and caret positioning.

Fixes [this issue](https://github.com/wordpress-mobile/WordPress-iOS-Editor/issues/302).  Also makes sure that no text can be written outside of paragraphs.

/cc @bummytime