further refactoring work
Merge branch 'master' of https://github.com/alist/stitch-server-mirror
rewrite emitter to fit new API
Merge branch 'master' of https://github.com/alist/stitch-server-mirror

Conflicts:
	model/stitch.js