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

these lambda's would be okay to be in one line. They are really just one line.