Add a failure response handling case to the http example
Note the .then promise method accepting success and error callbacks in http example
Merge branch 'feature/issue-194-add-http-failure-handling-example' into develop