improve rvmrc handling, fix #1521
fix rvm_is_a_shell_function in rvm-installer, notify @remear