Enforce hostgroup/role uniqueness on User relation
fixes #2398 - fix ruby 1.9 issue when loading free ip, causing {} in URL
fixes #2260 Allow ERB in ENC global / class parameters

Adds code to parse the global & class parameters, and adds a setting (default true)
 to disable this if needed. Also has some tests.