Added "clearOnSuccess" option to clear all the field values and remove the .valid class on success.
Return error fields in onError
Merge pull request #1 from tkorsa/master

Minor tweaks