Add ConfigValueFactory

This commit adds a basic implementation of the ConfigValueFactory
class. This class contains only one method, with_any_ref, which
takes an object and transforms it into a ConfigObject.