Make edit.bufferMode values private
README.md: Add godoc badge