Properly prune vms and template trees
Properly prune vms and template trees

before:
Trees were collapsed before pruning rbac.
Prune rbac was not finding the tree nodes in the whitelist and
improperly removing valid nodes.

after:
Prune rbac first, so nodes can be properly pruned
Tree nodes can then be collapsed

https://bugzilla.redhat.com/show_bug.cgi?id=1387792
billfitzgerald0120/manageiq,aufi/manageiq,NickLaMuro/manageiq,ManageIQ/manageiq,pkomanek/manageiq,israel-hdez/manageiq,ManageIQ/manageiq,agrare/manageiq,skateman/manageiq,josejulio/manageiq,borod108/manageiq,andyvesel/manageiq,gerikis/manageiq,kbrock/manageiq,juliancheal/manageiq,billfitzgerald0120/manageiq,djberg96/manageiq,gmcculloug/manageiq,romanblanco/manageiq,durandom/manageiq,jameswnl/manageiq,skateman/manageiq,jameswnl/manageiq,borod108/manageiq,jntullo/manageiq,israel-hdez/manageiq,chessbyte/manageiq,NaNi-Z/manageiq,romanblanco/manageiq,israel-hdez/manageiq,billfitzgerald0120/manageiq,matobet/manageiq,ilackarms/manageiq,gmcculloug/manageiq,fbladilo/manageiq,yaacov/manageiq,d-m-u/manageiq,yaacov/manageiq,jvlcek/manageiq,andyvesel/manageiq,fbladilo/manageiq,jrafanie/manageiq,pkomanek/manageiq,NaNi-Z/manageiq,fbladilo/manageiq,mzazrivec/manageiq,mzazrivec/manageiq,lpichler/manageiq,hstastna/manageiq,jntullo/manageiq,juliancheal/manageiq,mfeifer/manageiq,matobet/manageiq,skateman/manageiq,NaNi-Z/manageiq,mresti/manageiq,tzumainn/manageiq,jrafanie/manageiq,borod108/manageiq,ailisp/manageiq,syncrou/manageiq,yaacov/manageiq,lpichler/manageiq,agrare/manageiq,tinaafitz/manageiq,mkanoor/manageiq,NickLaMuro/manageiq,syncrou/manageiq,branic/manageiq,ailisp/manageiq,d-m-u/manageiq,agrare/manageiq,mkanoor/manageiq,d-m-u/manageiq,hstastna/manageiq,chessbyte/manageiq,branic/manageiq,mfeifer/manageiq,syncrou/manageiq,kbrock/manageiq,djberg96/manageiq,aufi/manageiq,ilackarms/manageiq,kbrock/manageiq,durandom/manageiq,jameswnl/manageiq,gerikis/manageiq,ManageIQ/manageiq,lpichler/manageiq,mzazrivec/manageiq,ilackarms/manageiq,andyvesel/manageiq,tinaafitz/manageiq,pkomanek/manageiq,jntullo/manageiq,jrafanie/manageiq,ailisp/manageiq,jntullo/manageiq,mfeifer/manageiq,mresti/manageiq,jvlcek/manageiq,fbladilo/manageiq,djberg96/manageiq,borod108/manageiq,romanblanco/manageiq,gerikis/manageiq,djberg96/manageiq,tinaafitz/manageiq,NickLaMuro/manageiq,durandom/manageiq,pkomanek/manageiq,lpichler/manageiq,tzumainn/manageiq,billfitzgerald0120/manageiq,matobet/manageiq,chessbyte/manageiq,jameswnl/manageiq,juliancheal/manageiq,tzumainn/manageiq,jrafanie/manageiq,ilackarms/manageiq,tinaafitz/manageiq,agrare/manageiq,NickLaMuro/manageiq,mkanoor/manageiq,mfeifer/manageiq,josejulio/manageiq,andyvesel/manageiq,aufi/manageiq,branic/manageiq,chessbyte/manageiq,d-m-u/manageiq,romanblanco/manageiq,mresti/manageiq,aufi/manageiq,mzazrivec/manageiq,hstastna/manageiq,israel-hdez/manageiq,matobet/manageiq,ailisp/manageiq,hstastna/manageiq,mkanoor/manageiq,syncrou/manageiq,juliancheal/manageiq,gmcculloug/manageiq,kbrock/manageiq,josejulio/manageiq,durandom/manageiq,skateman/manageiq,jvlcek/manageiq,yaacov/manageiq,tzumainn/manageiq,NaNi-Z/manageiq,josejulio/manageiq,gerikis/manageiq,ManageIQ/manageiq,jvlcek/manageiq,gmcculloug/manageiq,branic/manageiq,mresti/manageiq