syncing flow and interface implementation

1. optimize CWizDatabaseManager use QMap instead of QList to gain run
time efficiency and open db if not opened instead of return user
private db.
2. rewrite database path resolve method, only use single Open method
intead of openPrivate and openGroup, if user invoke Open without
kb_guid field, treat it as group database.
3. implement more IWizSyncableDatabase interface method.