Coalesce warnings for deprecated lifecycle hooks and print single message after reconciliation (rather than one per component-type).

Relates to PR #12028 and [this comment](https://github.com/facebook/react/pull/12028#discussion_r162420575).
const {
    commitResetTextContent,
    commitPlacement,
    commitDeletion,
    commitWork,
    commitLifeCycles,
    commitAttachRef,
    commitDetachRef,
  } = ReactFiberCommitWork(config, captureError);
  const {
    now,
    scheduleDeferredCallback,
    cancelDeferredCallback,
    prepareForCommit,
    resetAfterCommit,
  } = config;
  
  const startTime = now();
  let mostRecentCurrentTime: ExpirationTime = msToExpirationTime(0);
  
  let lastUniqueAsyncExpiration: number = 0;
  
  
  
  let expirationContext: ExpirationTime = NoWork;
  let isWorking: boolean = false;
  
  let nextUnitOfWork: Fiber | null = null;
  let nextRoot: FiberRoot | null = null;