Add replace mode state to session.
Implement replace mode.
Add replace button.
Select cursor drawing and mouse snapping mode based on the replace mode setting.
Clarify names.
Add missing translation to insert cursor positions.
Merge pull request #235 from kagu/replace_mode

Replace mode