Add support for #include, var_metric, and cat_metric in res_config_sqlite