[FLINK-19130] [core] Rename AsyncWaiter to InternalContext

As a preparation to expose FunctionTypeMetrics to functions for internal
axcess only, AsyncWaiter is renamed to a more general-purpose name
"InternalContext" so that it makes sense to add more internal-only
context methods there.
5 files changed