Support running mortar tasks on local clusters.
Code review changes.
Merge pull request #28 from mortardata/jkarn_local_clusters

[#79975866] Support running mortar tasks on local clusters.