Changes: Crash possibility in MDebug::printDebugChildInformation() eliminated
Changes: Crash possibility in MDebug::printDebugChildInformation() eliminated

RevBy: Marcin Miklas, Adrian Yanes
Details:
MDebug::printDebugChildInformation() can lead to crash when called with null layout or null widget.
Also applied refactorization to this method in order to make the code more readable.

nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch