Logging improvements

- move timestamp function into utilfuncs.c
- add a timestamp to log output for debug/verbose
- change a lot of debug logging to use log infrastructure
- alter default log level to info
- finetune some debug levels
Release v1.13