CHEF-3714 - Method returns if a file was edited

Implement a method in Chef::Util::FileEdit that returns if a file was edited
This commit contains the method originally written by rhafer@suse.com and
a unit test.