add sync packages from official rigistry, fiex #87

1. support 2 model, control by config.syncModel
2. when sync all packages, do not need to try to sync dependencies
3. after sync, send a email to all admins
4. in mysql, table total add two colunms, make sure two model won't confuse
5. when first time sync, it will be a monster