Fix iterables.extent() swapping min and max. Add tests.

Fixes https://github.com/google/quiver-dart/issues/69