Inspector: port tasks to safely unload recording and stop playback.

 * Factor out common steps into AsyncTaskSteps.
 * Rename WebInspector.ReplayManager events to be less ambiguous.
 * Fix misunderstanding in the semantics of ReplayManager.isReplaying().
Inspector: Add click-to-record prompt to replay dashboard.