Base classes / interfaces may be template instantiations too.

Fixes: https://issues.dlang.org/show_bug.cgi?id=13448
That doesn't look quite right, the grammar now says that there can be either multiple interfaces or only one template instance.