Fixes #12004, #11999 - Remove reserved words from Environment friendly_id
Restores use of friendly_id, but removes 'new', 'edit' etc from the reserved words list to ensure they can be used as identifiers.
Reverts the id-name parameterization to purely name, which fixes related bugs that caused the parameter value to be used as a Puppet environment name in class imports, rather than the resource name.
Related issues
Bug #11999: Foreman Puppet Class Import for Specific Environment Failing Due to Malformed Environment Name in API Query
Bug #12004: API: cannot query environments by name
Fixes #12004, #11999 - Remove reserved words from Environment friendly_id
Restores use of friendly_id, but removes 'new', 'edit' etc from the
reserved words list to ensure they can be used as identifiers.
Reverts the id-name parameterization to purely name, which fixes
related bugs that caused the parameter value to be used as a Puppet
environment name in class imports, rather than the resource name.