Add debug logging of Wikia API exceptions

An example of debug.log entry:

```
NotFoundApiException raised from ArticlesApiController::getTop/WikiaHttpException::__construct
```