Merge pull request #1 from codepb/master

branch update
Merge pull request #2 from codepb/master

Updated error/success for arrays
adding tests
update test file path
get into tests folder before running tests
Error callback

Error callback is fired but default message will not be inserted in the
dom correctly this is a fix to this failing
test https://travis-ci.org/mamod/jquery-template/builds/11603065
Merge pull request #18 from mamod/error_callback

Error callback