Bug 915622, make generated events to have same dependencies as generated bindings, r=khuey

--HG--
extra : rebase_source : c285e140e66bbea365d0b8a2ad13fd87828f8ac7
Bug 916879, remove SetterThrows from eventhandlers, r=emk