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

This is a replacement for [DCOM-162](http://www.doctrine-project.org/jira/browse/DCOM-162) (issue #244) - rebased and cleaned