Fixes #6532 - permission related api extensions

 - usergroups#show lists associated roles
 - listing available resource types
 - filters#show lists associated roles
 - filters#index lists associated roles and permissions and orders the results
 - pagination in permissions#index
 - missing parameters in apidocs for usergroups and roles
Fixes #6532 - usergroups require name