Updates MVC service registration code to use the new TryAddEnumerable overload (idempotence++). Some other misc cleanup to improve idempotence.