Replace std::cout with LogDebug. Remove not needed includes.
Merge pull request #549 from ianna/replace-cout-with-message-logger

Replace std::cout with LogDebug. Remove not needed includes.