add BitReader class for much easier reading of SWF file structs
fully implement SWF header reading using new BitReader class