Use k to prefix constants.
Store const Resources.
Simplify Resources, removing many getters.
Use reserve/emplace_back as a pattern over resize/read.
Use brace-init where applicable.

Also convert some constants I missed, and change some casts I missed.
Various changes to BinReader.

Rename readVarInt to readPackedShort.
Move implementation into BinReader.cpp where possible.
Avoid loop in align.
Working on parser generation.