bug fixes, added api docs for Batch API and Client activation command

Tasks covered in this PR:

1. fixed the bug in Batch API integration tests 
2. added api-docs for Batch-API
3. added client activation command
4. added integration tests for client activation command
5. fixed some minor bugs in ResolutionHelper class and BatchApiServiceImpl