Update DataForm.js

Finish the model for storing data. Now as the capability for on click submit and on change submit. Also allows for post and get methods.

Things to do:
*Run before and after methods
*Error handling