MCADefrag: Initial implementation.

Partially implements #639.
This only defragments the chunks, without recompressing them.
MCADefrag: Fixed bugs, now produces valid MCA files.
MCADefrag: Implemented recompression.

This finalizes #639.