Added possibility to pass additional options to rsync. Fixed some minor
issues.