Add BoolEncoder and a test for it
Simplify bool_decoder.hh by pushing more to compile time
Add outline of roundtrip encoder
Add encoder skeleton
Add serialize_first_partition skeleton
Encode keyframe header
Tree encoder
Move tree into its own source file
Working tree encoder, with a test for it
Encode InterFrame header
Convert uses of data.tree to Tree object
Move scorer into header file to accommodate encoding inter Y2 mode
Encode motion vectors
Store partition_id in interframe macroblock header
Encode subblock motion vectors
Add decoder.cc to allow compiling even with NDEBUG
Can now correctly serialize first partition of every frame in test video
encoder.cc: Throw an exception on roundtrip failure
Add skeleton for serializing DCT partitions
Move decoder state updates to their own source file