(#18308) Use argv in Facter::Application.parse
Add tests for Facter::Application.parse
terge branch 'tobyhs-ticket/1.6.x/18308_application_parse_argv' into 1.6.x

* tobyhs-ticket/1.6.x/18308_application_parse_argv:
  Add tests for Facter::Application.parse
  (#18308) Use argv in Facter::Application.parse
Merge branch '1.6.x' into 1.7.x

* 1.6.x:
  Add tests for Facter::Application.parse
  (#18308) Use argv in Facter::Application.parse
Merge branch '1.7.x' into 2.x

* 1.7.x:
  Add tests for Facter::Application.parse
  (#18308) Use argv in Facter::Application.parse