Added is_even and is_odd methods to Min and Max

Fixes #8640