Dumper: allow custom class handlers

See https://github.com/nette/nette/pull/1090
be more specific in phpdoc