Move the demangling routine to TClassEdit

and eliminate the duplication of code.