Change the BitBucket methods to be higher-level and less general, simplifying the bitfifo methods.
Move bitfifo-specific BitBucket operations into a private internal module (along with unittests).
Fix a compilation error since a mod file was removed.
Move tests into the modules of concern in order to test private functions.