sync-engine-shared - fix bugs, smooth out listener api
sync-engine-shared - add file type
sync-engine-shared - distinguish kind and kind name