VTTablet: remove panics in codex

Remove panics from all functions in codex and return errors instead. To
keep this CL sane allow the callers to panic on error. Eventually we should remove
panics all the way up the stack.