Move replays to protocol buffer format.

We don't actually use the protocol buffer libraries to read and write
it; I'm still holding out for a stable upb.
Store directories in a central structure.
Save replays during game.
Merge branch 'replay' into develop