fix Issue 9504 - typeof does not look up properties correctly on template argument

The identifiers followed by typeof(exp) or typeod(return) may be resolved to symbol or expression. Type[Typeof|Return]::resolve should consider it.
Fix up error message
Merge pull request #1659 from 9rnsr/fix_typeof

Issue 9504 - typeof does not look up properties correctly on template argument
fix initialization of OverExp::loc
OverExp: use loc of surrounding expression, not the (empty) loc from OverloadSset
fix Issue 9514 - "template instance … is not an alias"
Merge pull request #1665 from 9rnsr/fix9514

Issue 9514 - "template instance … is not an alias"
Merge pull request #1664 from rainers/overexp_loc

fix initialization of OverExp::loc