test_duchain: Get rid off debug spam

Dumping the DUChain + AST in normal runs is just over the top.
Fix TestDUChain::testTemplateEnums

Caused by changes in ConstantIntegralType::toString in kdevplatform