Fleshed out DeltaStateGameSnapshot.
Moved BitsForEnum to it's own header.
Forgot to encode/decode the StateMode.
Sort at the end, not at every insert.
Various fixes. Doesn't pass tests yet.