Expose getResourceVars at the root Resource class.

This was causing a problem with the cloud9 resource since it did not implement this method.