Install RVM as vagrant user rather than root
Fixed detection of RVM installation