Fix parameter annotation for getAppliedStylesForElement of Formatting.js
Preserve the text style when splitting at the end of paragraph.

At the moment, splitting at the end of the following paragraph
<p style-name="standard">hello <span style-name="bold">world|</span></p>
will create a new paragraph like below
<p style-name="standard">|<span style-name="bold"></span></p>

The cursor is moved out of the span due to empty span is not considered as
a valid cursor position in the current design. this causes newly entered
text are not formatted correctly.

Merged DirectTextStyler and DirectParagraphStyler into
DirectFormattingController. These have become closely related concepts as
a result of changes in this patch.
Disable the paragraph related styling methods if directParagraphStylingEnabled is false
Merge pull request #310 from kevinlli/splitParagraphImprovement

Split paragraph improvement
In edit mode, only open a hyperlink with Command+Click on MacOS

This matches the behaviour of LibreOffice.
Respond to ctrl key press event in edit mode only.
Stops FireFox from opening two new tabs upon ctrl/cmd + click a hyperlink
In edit mode, resets hyperlink cursor style to text whenever the editor got focus.

This prevents the cursor stays as hand icon in case user release the ctrl key after the editor lost focus.