(#22910) Deprecate networked access to resource

The resource indirection isn't safe to be accessible on the master, and
is not functionality that we want to continue to support for the agent.
Instead, users should use mcollective or similar systems for remote
command execution.
(#22910) Deprecate --host on puppet resource

With the networked resource access deprecated, the --host option also
needs to be deprecated so that users can easily see that it is
deprecated. Instead of using Puppet.deprecation_warning, this uses
simply Puppet.warning so that the user isn't presented with a confusing
code location on the command line. This should be ok since the
throttling of the message shouldn't be needed from the CLI environment.
Merge branch 'feature/master/22910-deprecate-rest-resource' of git://github.com/zaphod42/puppet

* 'feature/master/22910-deprecate-rest-resource' of git://github.com/zaphod42/puppet:
  (#22910) Deprecate --host on puppet resource
  (#22910) Deprecate networked access to resource