Added rsync error handling and modified WARN and ERROR functions to print to
stderr
Deleting log file when no error is found and proper handling of rsync errors
through log file rather than through exit code
Merge pull request #27 from bhuvi8/master

Added rsync error handling and modified WARN and ERROR functions to print to stderr