Added template function select_if() in variant.h; Unit-tested.

Should I recode it in the form select_if(g_quals.begin(), g_quals.end(), pred) instead of record.select_if(g_quals, pred), so it look more like a "count_if()"-like function?