Update perform.js

Added ability to have on success functions and on error functions. Added ability to bypass form submit. If any before function returns false then it will not submit the form. Change the data attribute names of before and after functions to bfns and afns.