Fix dependecies for unitests
Add config param for using localtime/UTC in log
Add tests, make log.localtime False by default
Remove unnecessary deps
Merge branch 'dev' into localtime