Added is_even and is_odd methods to Min and Max

Fixes #8640 
No.

Please learn how work the old assumptions (see sympy/core/assumptions.py).