fix outputing commands in debug mode
split __rvm_package into smaller functions
when removing ruby also remove bin/ wrappers, fix #1453