Added support for INSERT IGNORE and ON DUPLICATE KEY UPDATE in CotDB::insert() method.