Added functions for log, error and mail handling. Added file count and dir list to info file. Some cleanup.
Merge branch 'master' of github.com:fredrikwelander/snapshotbackup