In setParagraphStyle, clear the class attribute if the paragraph is being changed to a heading.
In setParagraphStyle, clear the class attribute if the paragraph is being changed to
a heading.

Allow a null properties parameter in applyFormattingChanges; this is just interpreted
as there being no properties to change.

corinthia/corinthia-editorlib,corinthia/corinthia-editorlib,corinthia/corinthia-editor,corinthia/corinthia-editorlib,corinthia/corinthia-editor,corinthia/corinthia-editor,corinthia/corinthia-editorlib,corinthia/corinthia-editor,corinthia/corinthia-editor,corinthia/corinthia-editorlib