replaced prints by logging in utils
replaced prints by logging in files in root dir
replaced print stderror by logger debug
Merge pull request #758 from Menerve/logging_utils_root

Print replaced by logging in utils folder and the last files