Add the any() and all() utility functions from Python 2.5