System table support

In the rs_databases table, the datatype of dist_status and src_status columns has been changed from tinyint to cs_int, and the “0x100 – waiting for a resync marker” status has been added to dist_status.