Adding check_cmd support to file.managed state.  check_cmd, run the state only if the check_cmd succeeds, can be used to verify a configuration file is in the correct state before putting it in place.
Merge pull request #13064 from garethgreenaway/12818

Adding check_cmd support to file.managed state