Gets the ith config value for k.  e.g. get_config_value('x', 1)

def get_config_value(self, k, i):
        """Gets the ith config value for k.  e.g. get_config_value('x', 1)"""
        if(not isinstance(self.store[k], list)):
            return self.store[k]
        else:
            return self.store[k][i]