Add a couple of minimum/maximum related functions

This adds support for both axes in `max()`, then it adds `min()`, `argmin()`, `argmax()` and element-wise `minimum()` and `maximum()`, along with the required tests.