Fix for bug in registering error of long running job in UJS.
Merge branch 'dev' of https://github.com/kbase/trees/ into dev