Modify definition of rehash method to reference resource with Chef::Resource

* This simply forks fnichol/chef-rbenv and merges in pull request #101
* This appears to be necessary to get chef-rbenv to work with Chef 12