A TemplateExp cannot be a template value parameter
CTFE: non-property functions arent template values

If it's still a function after property resolution,
don't interpret it. (optimize(WANTinterpret) was a no-op,
so this then failed later).
Dont run CTFE on dotvar, dottype alias template parameters

A dotvar or dottype expression might be an alias, rather than a value.
Don't run CTFE in this case.
Don't run CTFE on template parameters

It's guaranteed to fail, it's been passing only because it was a no-op.
Merge pull request #2106 from donc/no_ctfe__for_template_alias

Never run CTFE on template alias parameters