Misc cleanup
qtscript: Change eventResearched() to always have 3 parameters, where the
new third parameter is player called. Second parameter may be null.

Remove unused power parameter for ECM. Remove some dead code.