implemented reporting of profiler data via scribe

@Wikia/platform-team pls review
Profiler is initialized very early in the bootstrapping process while core functions are not available and autoload mechanism is not yet initialized. 
We're also registering profilers' logData() on register_shutdown_function() to give them a change to report data in case of any recoverable error. That poses a race condition that the error happens before the dependencies are initialized.
That's said I think we definitely need to leave the checks, the only question is if they should be moved somewhere else inside the class. Any opinion about that?