Added isAnalysisComplete API call and updated job states to queued, started, completed

[#57083406]