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).
case PlacementAndUpdate: {
          
          commitPlacement(nextEffect);
          
          
          nextEffect.effectTag &= ~Placement;
          
          const current = nextEffect.alternate;
          commitWork(current, nextEffect);
          break;
        }
        case Update: {
          const current = nextEffect.alternate;
          commitWork(current, nextEffect);
          break;
        }
        case Deletion: {
          isUnmounting = true;
          commitDeletion(nextEffect);
          isUnmounting = false;
          break;
        }
      }
      nextEffect = nextEffect.nextEffect;
    }
    if (__DEV__) {
      ReactDebugCurrentFiber.resetCurrentFiber();
    }
  }
  function commitAllLifeCycles() {