Transform usages of the conf module by updating locals.

def transform_conf_module(cls):
  """Transform usages of the conf module by updating locals."""
  global CONF_NODE

  if cls.name == 'openhtf.conf':
    # Put all the attributes in Configuration into the openhtf.conf node.
    cls._locals.update(cls.locals['Configuration'][0].locals)

    # Store reference to this node for future use.
    CONF_NODE = cls
    CONF_LOCALS.update(cls.locals)