'Get an option value for given section/option or return default.
If type is specified, return as type.'

def Get(self, section, option, type=None, default=None, raw=False):

    if (not self.has_option(section, option)):
        return default
    if (type == 'bool'):
        return self.getboolean(section, option)
    elif (type == 'int'):
        return self.getint(section, option)
    else:
        return self.get(section, option, raw=raw)
