Added possibility to assign Policy Profiles to VMs through UI.

* Two functions to manipulate the PPs
* Fix of wrong tree call (needed lambda)
* Tree updated to be able to check new styled trees
* Replaced all the old PP assignment code