Use ServiceManager for logger,db

Signed-off-by: RAKOTONIAINA Onjanirina <onja711@gmail.com>
Merge pull request #24 from OnjanirinaPro/master

Use ServiceManager for logger,db.
https://travis-ci.org/Onjanirina/kandra/builds/31522297