AddDbContext method for DI

TypeActivator is one of the basic services of DependencyInjection. It is added very low. It could still be missing, if e.g. it is not an ASP.NET application. We can wrap and throw a nicer exception in that case. Whatever we are doing elsewhere for similar cases.