Allow to change logdir/logfile path

- Provide single configuraiton option `logDir/logPath` in `config.yml`.
- Move `log4j.json` into `logger.js` like https://gist.github.com/tomaszdurka/c89886d2f7b9e926e5cf
First require dependencies (load classes) than use them.