Add ubit <-> sbit convertors

Move functions for conversion between soft and unpacked bits to main
library as they are generally useful.
3 files changed