Fixed rvm reinstall/remove ruby not working properly

Related to issue #1550. Basically the `install` and `use` commands were treating `ruby` as a proper argument, but reinstall and remove were not. This address the issue by adding in reinstall and remove to the logic branch. Also cleaned it up into a case statement.