Also, improve handling of translated strings.
When a breakpoint setter's target object was the template, the compiler failed with an assertion error. Fixed by allowing TemplateType objects there. The assertion is still needed to make the type checker happy.