implemented reporting of profiler data via scribe

@Wikia/platform-team pls review
This code is Mediawiki core. I only pulled it up in the inheritance chain.to access it in ProfilerXhprof class.
Anyway we can safely remove that check. I'll do it.