change return code of replication_app_base from int to dsn::error_code
change return code of replication_app_base from int to dsn::error_code

imzhenyu/rDSN.dist.service,imzhenyu/rDSN.dist.service,imzhenyu/rDSN.dist.service,imzhenyu/rDSN.dist.service