Patching in tidbit

### Migration

Hopefully this migrates all the relevant core functionality of the old
`tidbit` to the new `tidbytes`. I will take the liberty of merging
directly into `master`.