Common: Add a generic class for accessing bitfields in a fast and endianness-independent way.
BPMemory: Use the new BitField class in two selected structures.