Nope, chunks *don't* need bitmasks

That's for sure now, I've triple-checked this.
Composite types encoder is supposed to return vectors, now it does
Fixed some bugs in maps code
Almost completely rewrote types encoder/decoder
Changed composite types decoder to make it use streams
Some cosmetic changes