Add factories for wildcard type names.

Already LGTM'd @ https://github.com/google/dagger/pull/82