Added success and error callbacks to submitReference function
Merge pull request #2 from alumae/master

Added success and error callbacks to submitReference function