textbuffer: simplify move_iter virtual function

And remove the at_boundary() virtual function. at_boundary() has now a
simple implementation based on move_iter().