replace ~/.bashrc with https://rvm.io/integration/gnome-terminal/ + some minor changes

RVM might produce unexpected errors/problems when sourced via `~/.bashrc`, it's better to avoid it, replaced it with part of https://rvm.io/integration/gnome-terminal/

Some more details on shell login can be found here: https://rvm.io/support/faq/#shell_login