Created class SerializingRequest to represent requests that can be used
both for plays, where references are kept intact, and replays where
serialization is used.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>