replace common.js, sync_module_worker.js
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
add syncing to avoid sync worker start twice

fix all test
add sync status log
display sync status in home page
fix some bugs

last_sync_time display format
npm request arguments
Merge pull request #90 from fengmk2/issue87-sync

Issue87 sync