[Draft] Improve word boundary detection in non-english charsets

This is an implementation of the fallback solution identified in https://github.com/kogmbh/WebODF/issues/268#issuecomment-34034988.

# TODO
[ ] More unit tests around rounding when not on an existing word boundary
[ ] Update some API docs