ENH: Add new ArrayOrNone and ArrayNumberOrNone traits.

These avoid doing implicit comparisons of arrays with `None`.
BUG: Avoid a comparison of arrays with None.
ENH: Use the new ArrayOrNone and ArrayNumberOrNone traits.