Dynamic table events and JSON writer split

I've split the JSON writer stuff for the edit forms and I've integrated jQuery events into dynamicTables plugin required by the neutron barclamp.