fixes #6919 / BZ 1113588 - host - show validation error if no puppet environment

This commit contains a small change so that if the user doesn't provide
a puppet environment, they'll see the validation error sent by the server.

E.g. Puppet Environment: [] can't be blank

The code change is to ensure that the html rendered includes
'for="environment_id"', which is used to support displaying
the error associated with that attribute.
Fixes #6828/BZ1104636: show correct version of puppet module. …

The latest version of puppet modules was being incorrectly
calculated, based on an incorrect assumption that the last
item in the array was the latest version.  This commit
explicitly sorts the puppet modules by the version such that
the latest version is correct.

http://projects.theforeman.org/issues/6828
https://bugzilla.redhat.com/show_bug.cgi?id=1104636
Fixes #7024 - fixes delete cv from environment

In the cv api, this fixes the guard that checks that cv is in environment prior to removal.
fixes #5190 - adding annotations to deprecated routes, BZ 1102264
Fixes #7025 - replace default_environment in sys

In System api, default_environment is still being retrieved from the
User (which is no longer being defined there). This fix obtains the
environment from the user's default_organization.
Fixes #7026/BZ1128471: fix error on updating errata date range filter.

There was an error when updating an errata data range filter.  This
commit fixes the error as well as displays error messages on the form
in the event of a legitimate error.

http://projects.theforeman.org/issues/7026
https://bugzilla.redhat.com/show_bug.cgi?id=1128471
Merge pull request #4527 from bbuckingham/issue-6919

fixes #6919 / BZ 1113588 - host - show validation error if no puppet environment
Merge pull request #4560 from dustint-rh/typo_in_delete_cv_from_env

Fixes #7024 - fixes delete cv from environment
Merge pull request #4484 from komidore64/rmi5190-deprecated-systems-calls

Systems/Hosts: The Katello Systems API should exist but be documented as unsupported.
Merge pull request #4562 from waldenraines/7026

Fixes #7026/BZ1128471: fix error on updating errata date range filter.
Merge pull request #4501 from waldenraines/6828

Fixes #6828/BZ1104636: show correct version of puppet module.
Merge pull request #4561 from dustint-rh/rm_default_environment_in_sys_api

Fixes #7025 - replace default_environment in sys