change function to generator
sync_all and sync_exist to generator
update urllib, proxy/npm.js use generator

but SyncModuleWorker still use callback type npm.js,
so just use co wrap to thunk.
after refactor SyncModuleWorker, remove this co wrap.