Add Ctrl+A to select mode and fix undo replacing selection

- Map Ctrl+A in select mode to "Select All" command
- Link selection replacement to the subsequent insert mode so that undo undoes the whole replacement
Merge pull request #1282 from ricksladkey/fixes-select-undo

Add Ctrl+A to select mode and fix undo replacing selection