Checked for type maps of tag types.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Extended the searching for type maps to try both qualified and unqualified names and both full template declarations and just templated types.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Prevented the renaming of constructors of there is duplication of names.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>