(maint) DRY up the ProcessorCount fact for BSD systems

Confine OpenBSD, FreeBSD, and DragonFlyBSD ProcessorCount fact into a
single definition.
Merge pull request #383 from xaque208/freebsdproc

FreeBSD uses the same mechanisms that OpenBSD uses to gather information
(#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
Merge branch '2.x'

* 2.x:
  Add tests for Facter::Application.parse
  (#18308) Use argv in Facter::Application.parse
(#13396) Unify ifconfig usage and lookup ifconfig path to fix support for recent net-tools

Without this patch applied linux systems with recent net-tools loose
support for ipaddress,macaddress and other network related facts.
This is due to a path change from /sbin/ifconfig to /bin/ifconfig.
This patch fixes this issue by unifying the lookup and execution of
ifconfig and testing where the ifconfig binary is installed.
Merge pull request #386 from scepticulous/fix/master/fix_net-tools_support

fix recent net-tools support and unify ifconfig usage ( fixes bug #13396 )