Added job fault support to the API layer

Adds job fault support to DB, API, and client.