Update ui.atk4_form.js

Added beforesubmit event in order to allow modify data before it is serialized and sent.
Merge pull request #332 from jaumeMR/patch-1

Update ui.atk4_form.js