Override Controllers events

I think this is a big problem for the further development of ERPNext.