Provisioning test SMTP check

* Added Notifier role
* Added check for 2 e-mails present:
    * e-mail informing about provisioning request approval
    * e-mail informing about provisioning request finish
Event relay script should now relay everything

* everything that is not VM is now relayed in a 'generic' way.
Advanced Search testing in VMs
temp workaround for allowing upstream db connections
All shebangs follow pep-394

Specifically they're pointed at `python2`, rather than simply `python`.

References to /usr/bin/python(2) have been changed to /usr/bin/env python2.

For reference:
http://python.org/dev/peps/pep-0394/
Non-scripts don't get shebangs
Merge pull request #745 from seandst/pep-394

pep-394 and shebang cleanup
Merge pull request #744 from mfalesni/adv_search_vms

Advanced Search testing in VMs
Merge pull request #750 from dajohnso/loosen_pgssl

temp workaround for allowing upstream db connections
Merge pull request #710 from mfalesni/provisioning-email-check

Provisioning test SMTP check
Added possibility to assign Policy Profiles to VMs through UI.

* Two functions to manipulate the PPs
* Fix of wrong tree call (needed lambda)
Merge pull request #743 from mfalesni/universalify_event

Event relay script should now relay everything
Update tabstrib locator for upstream (needed in config/tasks)
Merge pull request #752 from jkrocil/tabstrip-update-upstream

Update tabstrib locator for upstream (needed in config/tasks)
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
Rectification of the difference between configuration trees in upstream and downstream