Altered some comments, and changed the default values from string to boolean for createResource
Fix bug 34268, add q, limit and offset parameters to the RoleService search function