Added shell script to detect and use RVM if present

It isn't pretty but it works.