[TASK] Move logger to lib/logger.js and gatewayd.logger.

[FOLD] Dereference lib/data/logs.js.