Add prependValue/appendValue methods.

This allows text to be prepended/appended without changing the cursor
location.