Moved function to appropriate file.

This API function is now also visible for the optimize variant.
rbitset: Add a backward iterator rbitset_prev.

Also adds accompanying bitset_t functions and unittests.