REL-1674 Speed up ODB-OT synchronization

Changed base64 block encoding to raw binary, which speeds things up quite a bit locally (unclear how noticeable it will be with remote connections). GZipping didn't help; data is too random and gains are overwhelmed by compression overhead.

I also removed some old commented-out code and changed some implicit conversions to implicit classes. Might be easier to review the commits individually.