V8 profiling patch re-based on Chromium v34

This is the same patch as we already applied for Chromium v32 with minor differences in Logger::LogCodeObjects() and Logger::LogCompiledFunctions() from log.cc.
This patch enables CPU profiling feature for XDK.

P.S.
This patch addresses the spelling and compilation issues (not detected last time because -Wall compiler flag was out of configuration).