LifetimeDependence: Centralized ParamInfo type & prefetch SourceFile
All relevant information about each parameter, including the implicit self
parameter, is now represented by an instance of the new ParamInfo type.
By pre-computing the "contextualized" parameter types and the source file, we
eliminate the last few cases where a DeclContext is needed, aside from those
where an AbstractFunctionDecl is needed.
This allows us to eliminate functionDC, and instead store a
AbstractFunctionDecl*, which can be set to NULL when checking lifetimes of
non-AFD types. This removes the potential for subtle bugs when using dynamic
casts to determine whether we are checking a particular subtype of AFD (e.g.
when checking a function type declared inside a constructor).
This partly reverts #86386 by re-introducing the afd member variable, but it is
now necessary to check if afd is NULL before using it.