Fix CMake version detection to handle dirty tags ("v0.5.2-dirty")

Uncommitted changes directly on a tagged version omit the commit # &
SHA1.
Attempt to report JSON strings in test output when two objects mis-match

Improves upon the existing reported string of "[Object object]". If the
object being serialised has recursive structures, the report string will
fall back to the previous implementation.
Fix direct cursor styling behaviour

Recent changes to Formatting.getAppliedStyles return type were not correctly
spread through the DirectFormattingController. Update the CC types and fix
incorrect type usages in this controller.

To help preserve future sanity, some rough unit tests have been added for
the specifically fixed branches ONLY.

Fixes #723.
Merge pull request #747 from peitschie/split-p-style-props

Fix direct cursor styling behaviour
Add changelog update for PR #747
Merge pull request #748 from peitschie/changelog

Add changelog update for PR #747
Clean up Avatar styling and remove !important tags from webodf.css

Historically, the avatar styling was split between the avatar class,
webodf.css and the editor's own CSS. This now all lives within WebODF,
so the !important tags are no longer necessary as the style attributes
being set on the handle and image elements can simply be removed.
Keep IME character selection menu in one place during composition

f78a30a introduced a regression that caused the IME menu to appear to
follow the caret across the screen as new characters are entered, rather
than remaining anchored at the beginning of the composed text.

This patch adds some width calculations, and aligns parts of the caret
overlay to either left or right side of the container. As the caret
overlay is widened, the event trap will remain fixed to the left, and the
caret + avatar handle will remain fixed to the right.
Redraw the caret if the composition sequence is aborted

If the user abandons the composition sequence (e.g., by pressing the
escape key before choosing which word to input), the text is cleared and
no operations or other updates are required. Subscribe to this event as
well to ensure the caret is redrawn back at the proper location.
Remove unnecessary eventTrap CSS rules

The event trap is no longer made visible during composition. As a result,
the overflow and width settings are no longer required, and the height is
never overridden.
Add changelog entry for fixes
Merge pull request #613 from peitschie/ime-caret

Keep IME character selection menu in one place during composition
Add Basque translation, under MIT license
Merge pull request #749 from iturralde/basque-translation

Add Basque translation, under MIT license
Provide "real" selection content to aid text2speech tools

Text-to-speech and screen readers use the browser's selection to determine
what the current selected text is. Some browsers (e.g., Safari on OSX) think
the text content of the event trap is the currently selected content, and
only vocalise the letter "b".

Cope with this by serialising the currently selected text to the input
field on redraw. On a 1000 page text-only document, this can add sizeable
performance impact (400ms to execute synchronizeWindowSelection), but
as this only occurs when the cursor is updated, and only once per redraw,
the actual end user impact is reasonably minimal.
Use a multi-line text input trap so text2speech pauses for paragraphs

Screen readers tend to read input text elements as single lines, and do
not pause on new lines. Using a text area instead encourages some of these
to pause more naturally on paragraph boundaries.
Add changelog entry
Merge pull request #704 from peitschie/text2speech

Provide "real" selection content to aid text2speech tools
Remove the SelectionMover class and associated code

The removed tests have been superseded by SelectionController tests covering
the same functionality.
Migrate SelectionMover.createPositionIterator to OdtDocument

Remove the SelectionMover file entirely as it no longer contains any
functionality.