Make a bunch of functions from Yi.Editor work in MonadEditor instead of just EditorM.

Additionally, replace `withBuffer0` and `withBuffer` with `withCurrentBuffer` to reduce confusion.