DCOM-162 - Returning the dumped value in `Doctrine\Common\Util\Debug::dump()`

This is a replacement for DCOM-162 (issue #244) - rebased and cleaned