[omemo] Fix old invalid BLOB database values
The way BLOBs are written to the database has changed in python3 So we read all BLOB values cast them to BLOB then write them back to the table Fixes #402, #278
The way BLOBs are written to the database has changed in python3 So we read all BLOB values cast them to BLOB then write them back to the table Fixes #402, #278