A bitmap class that is readily persistable in LevelDB and other databases.