added HTTP request/response logging with middleware
[fix #46799349] added error/exception logging
removed accidentally left debugger from the code
[fix #46799349] Moved the logger to a separate class
Merge pull request #135 from ke4/46799349_we_need_to_add_specific_sinatra_logging_to_the_api

added HTTP request/response logging with middleware