Feature/better logging

Includes https://github.com/obazoud/statusdashboard/pull/39 and https://github.com/obazoud/statusdashboard/pull/38, and add a functionality for providing your own logging function in configuration.