added updateClient and ApplyLoan commands with dependency resolution
Merge pull request #968 from rishy/Batch-API

added "UpdateClient" and "ApplyLoan" commands with dependency resolution