engine : User is not able to see newly added permissions on object if he inherited this permission on that object

In UserPortal if user inherit some permissions on some object,
than if he try to add new permissions to object that he inherit
permission from, he is not able to see this newly added permissions.

From webadmin portal getAllUsersWithPermission returns
false so the original query "GetPermissionsByEntityId"
is executed.

From USer portal getAllUsersWithPermission returns true
so the new query "GetAllUsersWithPermissionsOnEntityByEntityId"
is executed.

Change-Id: I9f8f8b110c41665bb6efe2647b654b845d70b7de
Bug-Url: https://bugzilla.redhat.com/877906
Signed-off-by: Ravi Nori <rnori@redhat.com>