Update vimrc

Correct way to check whether vim is a GUI or terminal. Also, ensure that I can use the backspace during insert mode.