add rsync excludes config option

Sometimes we don't want to sync everything (like .git or .hg folders), which can make the rsync much slower.