Remove moveToLeft helper function

safeAddModelOffset does the same in a more generic way.
Expose view when using smartinsert on folded text

When you ask to get a viewoffset of text in a fold, -1 gets returned.
Open the fold and try to get the viewoffset again.

Fixes #59.