Add methods required for puppet .conf module

This PR ports the methods required to manage .conf configuration files in a puppet module.
That would be great. I mostly moved these in here because for some reason the Beaker gem was breaking when it evaluated `require 'hocon'`, and moving these all into the `hocon` module was the only way I could find to resolve it without breaking other tests.