Really log calls to wfDebugLog()

https://wikia-inc.atlassian.net/browse/PLATFORM-424

@Wikia/platform-team 

Start logging calls to ``wfDebugLog()``
The call to ``wfRunHooks`` is wrapped in if statement, so one can assume that it may return false. I'd like to keep the required changes in MW core as small as possible.