mifosx-1670 : Modified Code for Role Functionality

@vishwasbabu 

This is complete pull request form role functionality (community-app)