Added a class to represent a bitfield, added an extra type of range.
Decloaked ninja-comments.
Merge branch 'master' into bitfield
Merge branch 'master' into bitfield
Fix strange bug in BitField.

It used to work, then it didn't and now it does again.