(PUP-3267) Remove --listen functionality from agent
(PUP-3267) Remove puppet kick application
(PUP-3267) Remove Puppet::Run and terminii

Puppet::Run was only used by puppet kick; since we've removed puppet
kick this code is no longer in use and can be removed.
(PUP-3267) Remove puppet resource for remote hosts

The removal of `puppet agent --listen` means that it's no longer
possible to use `puppet resource` with a remote host. This commit
removes the relevant functionality in the resource command, the
resource REST terminus, and disables remote requests for the remaining
terminii.
(PUP-3267) Remove acceptance tests for Puppet kick
(PUP-3267) Remove :listen and :puppetport settings

Both of these settings were only used for `puppet agent --listen` and
are no longer in use.
(PUP-2613) Update source_permissions help message

Changes the help text to identify :ignore as the default.
(PUP-2613) Revert change to spec test

Prior to commit 6196e75b0, file_spec.rb asserted puppet would by
default apply the sourced file's owner, group, and mode to the file
resource.

Commit 6196e75b0 changed the default behavior of `source_permissions`
from `use` to `ignore`. This caused the test's precondition to no
longer be true.

In the same commit, the spec was modified to assert that the source
mode was no longer applied to the file, but that changed the meaning
of the test. The modified test worked when running as a regular user,
but failed when running in jenkins as LocalSystem.

When puppet manages file content, it creates a
Puppet::FileSystem::Uniquefile, and renames the file. The permissions
assigned to the group depend on the default DACL for the user.

When running as a normal user, the group is "None" and the file was
created with read permissions (0x1201bf), missing DELETE (0x10000),
WRITE_DAC (0x40000), and WRITE_OWNER (0x80000). This caused puppet
to report the mode as 0740, which didn't match 0770, so the test
passed.

When run in jenkins as LocalSystem, the group is "SYSTEM" and puppet
will always ensure that SYSTEM has full control. This caused puppet to
report the mode as 0770, which caused the test to fail.

This commit reverts the change to the spec test, and specifies the
precondition `source_permissions => use`. The test will eventually be
removed in PUP-2609, since we're removing `use` behavior on Windows.
(PUP-2613) Specify `use` precondition

Previously, a few tests relied on source_permissions defaulting to
`use`, and broke in CI when the default changed.

This commit ensures we specify the necessary precondition for the test
to pass.

When PUP-2609 is implemented, we can remove these tests.
Merge remote-tracking branch 'origin/ticket/master/PUP-2613-use-source-permissions'

* origin/ticket/master/PUP-2613-use-source-permissions:
  (PUP-2613) Specify `use` precondition
  (PUP-2613) Revert change to spec test
Merge pull request #3221 from MikaelSmith/task/master/PUP-2613-update-help-message

(PUP-2613) Update source_permissions help message
Merge pull request #3207 from adrienthebo/removal/master/pup-3267-remove-puppet-kick

Removal/master/pup 3267 remove puppet kick
PUP-3492: enabled Upstart as a service provider for linux Mint

Change-Id: I3df5054e3cc125718f5f6e99a8ad73a962df8501
Merge pull request #3220 from TimWSpence/PUP-3492

PUP-3492: enabled Upstart as a service provider for linux Mint
(PUP-2609) Make copying permissions on Win an error

Copying permissions on Windows are problematic, so it isn't done. Change
the deprecation warning about source_permissions => use/use_when_creating
to an error.
Fix source_spec unit tests
Remove unreachable code for use source_permissions on Windows