replace live() with on() in core js

This pr replaces all deprecated jquery live calls in core with corresponding on calls. As a benefit we will not register an event handler on every td but on the table, reducing memory consumption and giving a nice warm feeling in the belly. I tried to attach it to sensible DOM elements where possible, eg in settings/js/users.js. 

Oh and I removed a few superfluous commas hated by IE8.

U know how it goes: @DeepDiver1975 @tanghus @LukasReschke @MTGap @icewind1991 please test and then :+1: