Implement OpenVZ CTID checking on migration + schema fix (OMS-204)