add new defines for warning und error, rename old error to errorNULL
- move struct path to new header readdir.h
- create struct perms embedded into struct path
- create helper parseSetting to fill struct perms from file
- change length attribute to size_t
add parameter settingname to parseSetting