special case: had to make th if construction to set environment==null for headpin/
Merge pull request #402 from hhovsepy/master

thanks a lot Hayk for making system groups be run in Headpin!.
Fixed failing test for headpin nightly
Merge pull request #403 from tkolhar/master

Headpin Nightly failures fixed
Added test ID 274294
Merge pull request #412 from tkolhar/master

Added test for ID 274294
rework on Tazim's PRs: refactoring method calls, making the type as parameter to the calls.
fixed failing headpin test
Merge pull request #413 from tkolhar/master

fixed failing headpin test testUserRole_create
integrated sat6, SAM, headpin with LDAP