Install rsync automatically when missing it

I've added the function to install rsync automatically when missing it.

This code is copied from https://github.com/mitchellh/vagrant/blob/master/plugins/synced_folders/rsync/synced_folder.rb#L31 .

Code duplication is not good, but I don't know better way.Let me know if there is a better way to
do this thing.