Merge pull request #142 from 3Hren/master

[Common] Platform specific stuff.
[Logging] Moved some log points around.
[Source] Codestyle.
[Bug Fix] Fix improper demangling.

According to the documentation this function returns a pointer to the start of the NUL-terminated demangled name, which is perfectly converts to std::string (because of \0).
On the other side length parameter is treated as allocated buffer size - this one is completely uninteresting for us.

If demangling fails for some reasons we just return string containing information about. It's okay, because that string is only informative anyway.
[General] Minor improvements.
[RPC] Upstream transitions.
[Bug Fix] Typo.
Merge pull request #144 from 3Hren/patch-1

[Bug Fix] Typo.
Merge branch 'master' of https://github.com/cocaine/cocaine-core

Conflicts:
	src/logging.cpp
[Logging] Migrate to new Blackhole version.