Split the implementation of input iteration for capturing and
replaying from the actual storage of program inputs.

Wrap all NondeterministicInput subclasses in OwnPtr before storing in
the input log.

Add an InputIterator interface to WTF, and remove ReplayInputLog.

Change ReplayInputLog::isActive checks with toggleable isCapturing()
and isReplaying() in the respective input iterators.

Rename ReplayInputSerializer -> InputSerializer.

Closes #249.
Move capture functionality and input timestamping from
ReplayController to CaptureInputIterator.

Remove all helper methods from ReplayController that special-case
event loop inputs, and remove their uses.

Closes #250.
Extract utility code that finds InputIterator through a Document's
JSDOMWindow.

Remove calls through ReplayController to check replay/capture status,
and use the above instead.
Move EventLoopInput to WebCore/replay/inputs/
Make an iterator for program inputs that exposes a functor
interface. Remove that functionality from ReplayRecording.

Closes #253.
Fix crash (regression) in initial load flag checking. This was caused
by a botched conditional during the switch to iterators.
Move event loop input dispatching code and state out of ReplayController.

Closes #251.
Remove ReplayRecording.name from Inspector protocol.

Closes #246.