Send the :links option to the file server

Previously, the server was never asked to follow links when 'links =>
follow' was used, so the server always provided the metadata for the
link itself. With this patch, the server correctly follows the link
server-side and the client can apply the catalog correctly.
(#7680) Update tests for changed behaviour after bugfix

A number of tests were broken before the bugfix:
* incorrectly checking the file mode (missing .should)
* operating on a non-existent source symlink

Enabled all of the #10315 tests which now pass, some of which needed
editing due to the expected behaviour now being different for
links => follow.
Update Puppet::FileServing::Metadata tests

Provide a stub for resource[:links] => :manage
Expect :find to be called with :links => :manage
(#7680) Add acceptance test for file links => follow
(#7680) Fixup Puppet::Resource::Catalog::StaticCompiler tests
Merge remote-tracking branch 'pr/1532' into 2.7.x
Merge branch '2.7.x' into 3.1.x

Conflicts:
	lib/puppet/type/file/source.rb
	spec/unit/indirector/catalog/static_compiler_spec.rb
	spec/unit/type/file/source_spec.rb
(Maint) Make a CRL valid on the same second it is updated

Backport commit 15a9fb76096e1d0d3642ae2ebcfa72ea9abc367f which
eliminates time-sensitive spec failures due to the CRL not being yet
valid.

Because openSSL says that a CRL is valid only at least one second after
it was last updated, setting the last_updated field to right now causes
the CRL to be not valid for one second. This was showing up as an
intermittent failure in our test cases.

The CRL is now always made to be last_updated one second ago so that it
is immediately valid.
Merge branch '2.7.x' into 3.1.x

* 2.7.x:
  (Maint) Make a CRL valid on the same second it is updated

Conflicts:
	lib/puppet/ssl/certificate_revocation_list.rb
Merge branch '3.1.x'

* 3.1.x:
  (Maint) Make a CRL valid on the same second it is updated
  (#7680) Fixup Puppet::Resource::Catalog::StaticCompiler tests
  (#7680) Add acceptance test for file links => follow
  Update Puppet::FileServing::Metadata tests
  (#7680) Update tests for changed behaviour after bugfix
  Send the :links option to the file server

Conflicts:
	lib/puppet/type/file/source.rb
	spec/unit/type/file/source_spec.rb