Accept foo.lock.json as well as foo.rb when loading a policyfile
Accept foo.lock.json as well as foo.rb when loading a policyfile

Whenever you load a policyfile by name, if you specified a lockfile
instead of the policyfile, this change will change the filename to the
matching .rb file instead rather than exiting with an error.

This allows you do to things like `chef push prod mypolicy.lock.json`
instead of `chef push prod mypolicy.rb`.

Signed-off-by: Mark Harrison <f1b5a91d4d6ad523f2610114591c007e75d15084@mivok.net>

chef/chef-dk,chef/chef-dk,chef/chef-dk