Log the stack trace when a LoadingQueue task throws an error

Fixes #658.
Merge pull request #659 from peitschie/log-fixup

Log the stack trace when a LoadingQueue task throws an error
Attempt to read selection style information even when there
is no text element/node in the selection.
Generate and cache style summary for selections that do not
contain text.

This divides the `isEnabled` information of DirectFormattingController
into two parts, `directTextStyling` and `directParagraphStyling`.

The widgets are accordingly updated.
Rename isEnabled to enabledFeatures inside DirectFormattingController.