Only update the cursor selection once per mouse-down

In Chrome, right-clicking repeatedly generates both a contextmenu AND
a mouseup event for subsequent clicks. E.g. a sequence of right clicks
generates:
1st - mousedown, contextmenu
2nd...nth - mousedown, contextmenu, mouseup

This causes problems when clicking on images as the selection is
immediately reset after being processed by the first context menu,
causing the subsequent mouseup event to try and reset the cursor
selection *again*.
Hide the cursor anchor element

This is not a visible element. It is used only to track selection
ranges inside the document.
Add some additional documentation to mouse click handling
Maintain selection when right-clicking on a range that ends at an image

On OSX, right-clicking on an image at the end of a range selection will
hit this particular branch. The image should remain selected if the
right-click occurs on top of it as technically it's the same behaviour
as right clicking on an existing text selection.
Merge pull request #483 from peitschie/right-click-behaviour

Improve right-click behaviour near and around images
Migrate avatar CSS rules from editor to webodf.css

Each css file contained some of the rules required for the avatar display.
There are enough stylistic elements in webodf.css the avatars look strange
if the editor.css rules are not present.

Clean up this problem by merging all the rules into webodf core.
Improve avatar alignment to centre better with relation to the caret

The avatar was not staying well centred over the caret, and wouldn't move
vertically when the caret grew to match the text size. The easiest way to
ensure these stay properly aligned is to wrap both inside a sub-container.
Merge pull request #574 from peitschie/caret-avatar

Improve avatar alignment to centre better with relation to the caret
Use Qt5 for qtjsruntime
Make qtjsruntime work on windows and it's C:/foo/bar paths
Workaround for DOMParser.parseFromString problem on CI system
Update building instructions
Merge pull request #569 from kossebau/qt5

Use Qt5 for qtjsruntime
Stabilise annotation connector rendering in FF

Firefox makes the connector line and associated note wrapper float around
when the cursor is nearby if the top value is not fixed.

Fixes issue #49
Merge pull request #577 from peitschie/annotation-connector

Stabilise annotation connector rendering in FF
Consistently name Node.js like that
Add support for finding the Node.js executable on Debian
Merge pull request #585 from kossebau/supportDebiansNodejsExec

Support debian's nodejs exec
Add italian translation, under MIT license
Merge pull request #538 from frafra/master

Add italian translation, under MIT license