Events functionality

A few things:

1. Added onblur and onfocus events
2. Esc event on inline edit will return value to original before element was edited and blur the element
3. Debug mode is off by default