Base classes / interfaces may be template instantiations too.

Fixes: https://issues.dlang.org/show_bug.cgi?id=13448
Oops! Was a little too trigger-happy with the paste key. :-P Thanks for catching it, fixed.