SYNCIDB: Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz