[SP-1640] - Regression of BISERVER-12267 - REGRESSION User/Role with Manage Permissions permission on a folder can't manage permissions (5.2 Suite)

1. reverted commit 402eb9ce6b8e17c797bf226562260d840c3d960d. 
2. added processing the case when list of requestBuilders is empty
It's a simple cherry-pick for commit from https://github.com/pentaho/pentaho-platform/pull/2131
@rmansoor Ramaiz, please review