more robust error messages for failure cases to reach endpoints

S-48826
Display a message when there are no commits.

S-48826
Accept errorHandler callback from clients of app.js

This can be used for anything really. An example usage would be to display
an error message somewhere on the page from the client.

S-48826
Merge branch 'userconfig-to-configure-v1-S-48826' into develop