fix bugs again for Integration of Client, PrimaryMaster, DBManagerV2

the bug is about store image metadata to local master mongoDB
4 modules Integration for client,primary, backup, dbmangerV2