Added possibility to assign Policy Profiles to VMs through UI.

* Two functions to manipulate the PPs
* Fix of wrong tree call (needed lambda)
Flak cannon applied a little bit
Merge pull request #711 from mfalesni/vm-pp

Added possibility to assign Policy Profiles to VMs through UI.
VersionLocator replacement
Merge pull request #753 from mfalesni/some_lint

Flak cannon applied a little bit
Merge pull request #756 from psav/version_locator_switch

VersionLocator replacement