Move log configuration to config.yaml.
Improve readability.

Remove pulsar-rest-api.js. Pass to Server instance of Config instead of Config.asHash.