MIFOSX-1670 : Modified Code for Role Functionality

@vishwasbabu 

This is complete new pull request for role functionality
This would return a response (the resource Id which was activated)....see similar commands like https://demo.openmf.org/api-docs/apiLive.htm#clients_activate