Merge pull request #217 from adityab/cursorpos-annotations

Fix post-annotation cursor positions
Use new StepsTranslator mechanism for
computing positions of paragraphs in
DirectParagraphStyler. This fixes
the case where indentation of a paragraph
with direct-styled text at the beginning
would indent the previous paragraph also.
Make OdtDocument.convertDomToCursorRange
accept two more boolean arguments, indicating
the rounding direction at each endpoint.

In SessionController.selectRange's call to
OdtDocument.convertDomToCursorRange, fix it
to restrict the computed cursor range to never
overflow outside of the originally supplied
range.
This fixes issues where indenting/paragraph-styling
completely-selected paragraphs (that had their
beginnings already direct-styled) would also
indent/style their previous paragraphs.

Thus, triple-click selection no longer bleeds
into the surrounding paragraphs.