PUP-1322 Do not fail hard on unparseable files
(PUP-1421) Remove flawed source validation in package provider appdmg.

* appdmg's "source" may be a URL that redirects to the actual dmg (and thus not end in .dmg)
* actual download is renamed to "name" anyway
* hdiutil doesn't require the dmg file to have a filename ending in .dmg
(PUP-1420) Move global StateMachine to Puppet::Zone
Merge pull request #2201 from fhrbek/pe_2123_do_not_fail_hard_on_unparseable_files

(PUP-1322) Do not fail hard on unparseable files
Merge pull request #2250 from crankharder/move_statemachine_2

(PUP-1420) Move global StateMachine to Puppet::Zone
Merge pull request #2249 from webbj74/fix/master/PUP-1421

(PUP-1421) Remove flawed source validation in package provider appdmg.
Merge branch 'master' of https://github.com/puppetlabs/puppet