Handle Template(_, _, _) case in transform.

This allows things like:

  class EitherRightFunctor[L] extends Functor[Either[L, ?]]

Fixes #2.