added rvm wrapper detection and use.

I was running into problems using this cookbook with RVM. By adding this, it will automatically detect if RVM is being used and then will prefix the command with the rvm wrapper.