support the other codecs

This pull request adds support to migrate to level-sublevel/bytewise style,
and adds test coverage. I'll probably add a few more commits to this but wanted to post it now
so that you see whats coming.