Added scripts to rsync.template and action_replicate.
Fixes #645
Merge pull request #660 from jmaas/master

Added scripts to rsync.template and action_replicate.