Improved declNames internal error.  Added a case to handle DocD.
Improved declNames internal error.  Added a case to handle DocD.

haskell/haddock,adamse/haddock,Acidburn0zzz/haddock,sboosali/haddock,Mistuke/haddock,Helkafen/haddock,JPMoresmau/haddock,lamefun/haddock,mrBliss/haddock,Wizek/haddock,Acidburn0zzz/haddock,randen/haddock,niteria/haddock,Helkafen/haddock,jgm/haddock,jstolarek/haddock,Fuuzetsu/haddock,mrBliss/haddock,haskell/haddock,lamefun/haddock,lamefun/haddock,idontgetoutmuch/haddock,jgm/haddock,JPMoresmau/haddock,Acidburn0zzz/haddock,esmolanka/haddock,Fuuzetsu/haddock,idontgetoutmuch/haddock,adamse/haddock,adamse/haddock,haskell/haddock,idontgetoutmuch/haddock,mrhania/haddock,randen/haddock,JPMoresmau/haddock,mrhania/haddock,mrhania/haddock,Mistuke/haddock,jstolarek/haddock,esmolanka/haddock,beni55/haddock,Mistuke/haddock,niteria/haddock,Helkafen/haddock,beni55/haddock,haskell/haddock,esmolanka/haddock,haskell/haddock,beni55/haddock,sboosali/haddock,Fuuzetsu/haddock,Fuuzetsu/haddock,sboosali/haddock,mrBliss/haddock,Wizek/haddock,randen/haddock,niteria/haddock,Wizek/haddock